-
__construct
-
Opens the index.
-
__construct
-
Object constructor
-
__construct
-
-
$_fields
-
Associative array Zend_Search_Lucene_Field objects where the keys to the array are the names of the fields.
-
__construct
-
-
__get
-
Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
-
_loadDictionary
-
Loads Term dictionary from TermInfoIndex file
-
__construct
-
-
__construct
-
Opens the index for writing
-
__construct
-
-
__construct
-
Object constructor.
-
__construct
-
-
__construct
-
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname, Documents count and Directory as a parameter.
-
__destruct
-
-
$_currToken
-
tokens pointer.
-
$_document
-
Object handle of the document associated with this hit
-
$_index
-
Object handle of the index
-
$_tokens
-
inputString tokens.
-
$_weight
-
Query weight
-
_conjunctionScore
-
Score calculator for conjunction queries (all terms are required)
-
_createWeight
-
Constructs an appropriate Weight implementation for this query.
-
_createWeight
-
Constructs an appropriate Weight implementation for this query.
-
_createWeight
-
Constructs an appropriate Weight implementation for this query.
-
_createWeight
-
Constructs an appropriate Weight implementation for this query.
-
_exactPhraseFreq
-
Score calculator for exact phrase queries (terms sequence is fixed)
-
_initWeight
-
Constructs an initializes a Weight for a query.
-
_nonConjunctionScore
-
Score calculator for non conjunction queries (not all terms are required)
-
_sloppyPhraseFreq
-
Score calculator for sloppy phrase queries (terms sequence is fixed)
-
__construct
-
QueryTokenize constructor needs query string as a parameter.
-
__construct
-
ZSearchTermQuery constructor
-
__construct
-
ZSearchTermWeight constructor reader - index reader
-
__construct
-
ZSearchMultiTermWeight constructor query - the query that this concerns.
-
__construct
-
Constructor - pass object handle of ZSearch index that produced the hit so the document can be retrieved easily from the hit.
-
__construct
-
ZSearchPhraseWeight constructor
-
__construct
-
Class constructor. Create a new multi-term query object.
-
__construct
-
Class constructor. Create a new prase query.
-
__construct
-
IndexReader constructor needs token type and token text as a parameters.
-
__get
-
Convenience function for getting fields from the document associated with this hit.
-
_fread
-
Reads $length number of bytes at the current position in the file and advances the file pointer.
-
_fread
-
Read a $length bytes from the file and advance the file pointer.
-
_fwrite
-
Writes $length number of bytes (all, if $length===null) to the end of the file.
-
_fwrite
-
Writes $length number of bytes (all, if $length===null) to the end of the file.
-
__construct
-
Object constructor Checks if $path is a directory or tries to create it.
-
__construct
-
Class constructor. Open the file.
-
__construct
-
Class constructor. Open the file.
-
__destruct
-
Class destructor. Close the file.
-
__destruct
-
Class destructor. Close the file.
-
getDirectory
-
Returns the ZSearchDirectory instance for this index.
-
getDocument
-
Returns a Zend_Search_Lucene_Document object for the document number $id in this index.
-
getFieldNames
-
Returns a list of all unique field names that exist in this index.
-
getIndexWriter
-
Returns an instance of Zend_Search_Lucene_Index_Writer for the index
-
getSimilarity
-
Retrive similarity used by index reader
-
getDefault
-
Return the default Analyzer implementation used by indexing code.
-
getEndOffset
-
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
-
getPositionIncrement
-
Returns the position increment of this Token.
-
getStartOffset
-
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.
-
getTermText
-
Returns the Token's term text.
-
getType
-
Returns this Token's lexical type. Defaults to 'word'.
-
getField
-
Returns Zend_Search_Lucene_Field object for a named field in this document.
-
getFieldNames
-
Return an array with the names of the fields in this document.
-
getFieldValue
-
Returns the string value of a named field in this document.
-
getField
-
Returns field info for specified field
-
getFieldNum
-
Returns field index or -1 if field is not found
-
getFields
-
Returns array of fields.
-
getName
-
Return segment name
-
getTermInfo
-
Scans terms dictionary and returns term info
-
getBoost
-
Gets the boost for this clause. Documents matching this clause will (in addition to the normal weightings) have their score multiplied by boost. The boost is 1.0 by default.
-
getDefault
-
Return the default Similarity implementation used by indexing and search code.
-
getDocument
-
Return the document object for this hit
-
getIndex
-
Return the index object for this hit
-
getSigns
-
Return terms signs
-
getSlop
-
Get slop
-
getTerms
-
Returns query term
-
getTerms
-
Returns query term
-
getValue
-
The weight for this query.
-
getValue
-
The weight for this query
-
getValue
-
The weight for this query
-
getValue
-
The weight for this query
-
getFileObject
-
Returns a ZSearchFile object for a given $filename in the directory.
-
getFileObject
-
Returns a ZSearchFile object for a given $filename in the directory.
-
setDefault
-
Set the default Analyzer implementation used by indexing code.
-
setPositionIncrement
-
positionIncrement setter
-
$storeTermVector
-
-
$stringValue
-
-
$skipInterval
-
Expert: The fraction of TermDocs entries stored in skip tables.
-
$skipOffset
-
ScipData offset in a Frequencies file.
-
$storeTermVector
-
-
SegmentInfo.php
-
-
SegmentWriter.php
-
-
$score
-
Score of the hit
-
score
-
Score specified document
-
score
-
Score specified document
-
score
-
Score specified document
-
score
-
Score specified document
-
setBoost
-
Sets the boost for this query clause to $boost.
-
setDefault
-
Set the default Similarity implementation used by indexing and search code.
-
setSlop
-
Set slop
-
setWeight
-
Set weight for specified term
-
setWeight
-
Set weight for specified term
-
sloppyFreq
-
Implemented as '1/(distance + 1)'.
-
sloppyFreq
-
Computes the amount of a sloppy phrase match, based on an edit distance.
-
sumOfSquaredWeights
-
The sum of squared weights of contained query clauses.
-
sumOfSquaredWeights
-
The sum of squared weights of contained query clauses.
-
sumOfSquaredWeights
-
The sum of squared weights of contained query clauses.
-
sumOfSquaredWeights
-
The sum of squared weights of contained query clauses.
-
seek
-
Sets the file position indicator and advances the file pointer.
-
seek
-
Sets the file position indicator and advances the file pointer.
-
size
-
Get the size of the already opened file
-
termDocs
-
Returns an array of all the documents which contain term.
-
termPositions
-
Returns an array of all term positions in the documents.
-
terms
-
Returns an array of all terms in this index.
-
tokenize
-
Tokenize text to a terms Returns array of ZSearchToken objects
-
tokenize
-
Tokenize text to a terms Returns array of ZSearchToken objects
-
Text
-
Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits. Useful for short text fields, like "title" or "subject". Term vector will not be stored for this field.
-
$text
-
Term value
-
TermInfo.php
-
-
Term.php
-
-
$text
-
Token text.
-
$type
-
Token type.
-
tf
-
Computes a score factor based on a term or phrase's frequency in a document. This value is multiplied by the idf(Term, Searcher) factor for each term in the query and these products are then summed to form the initial score for a document.
-
tf
-
Implemented as 'sqrt(freq)'.
-
tell
-
Get file position.
-
tell
-
Get file position.
-
touchFile
-
Sets the modified time of $filename to now.
-
touchFile
-
Sets the modified time of $filename to now.