[Zend_Search_Lucene] element index

Package indexes

All elements
a b c d e f g h i k l m n o p q r s t u v w z _
_
top
__construct
Opens the index.
__destruct
Object destructor
__construct
Object constructor
__construct
__construct
$_fields
Associative array Zend_Search_Lucene_Field objects where the keys to the array are the names of the fields.
_less
Compare elements
__construct
__get
Proxy method for getFieldValue(), provides more convenient access to the string value of a field.
$_directory
File system adapter.
$_docCount
Number of docs in a segment
$_fdtFile
'.fdt' file - Stored Fields, the field data.
$_fdxFile
'.fdx' file - Stored Fields, the field index.
$_fields
Segment fields. Array of Zend_Search_Lucene_Index_FieldInfo objects for this segment
$_files
List of the index files.
$_name
Segment name
$_norms
Normalization factors.
$_termDictionary
Term Dictionary Array of the Zend_Search_Lucene_Index_Term objects Corresponding Zend_Search_Lucene_Index_TermInfo object stored in the $_termDictionaryInfos
$_termDocs
Documents, which contain the term
_dumpDictionary
Dump Term Dictionary (.tis) and Term Dictionary Index (.tii) segment files
_dumpFNM
Dump Field Info (.fnm) segment file
_dumpTermDictEntry
Dump Term Dictionary segment file entry.
_generateCFS
Generate compound index file
_less
Compare elements
_loadDictionary
Loads Term dictionary from TermInfoIndex file
__construct
Object constructor
__construct
__construct
Opens the index for writing
__construct
Object constructor.
__construct
Object constructor.
__construct
Object constructor.
__construct
Zend_Search_Lucene_Index_SegmentInfo constructor needs Segmentname, Documents count and Directory as a parameter.
__construct
Object constructor.
__construct
$_currToken
tokens pointer.
$_document
Object handle of the document associated with this hit
$_index
Object handle of the index
$_queryNorm
Normalization factor.
$_tokens
inputString tokens.
$_value
Weight value
$_weight
Query weight
_conjunctionScore
Score calculator for conjunction queries (all terms are required)
_conjunctionScore
Score calculator for conjunction queries (all subqueries are required)
_exactPhraseFreq
Score calculator for exact phrase queries (terms sequence is fixed)
_initWeight
Constructs an initializes a Weight for a _top-level_query_.
_nonConjunctionScore
Score calculator for non conjunction queries (not all terms are required)
_nonConjunctionScore
Score calculator for non conjunction queries (not all subqueries are required)
_sloppyPhraseFreq
Score calculator for sloppy phrase queries (terms sequence is fixed)
__construct
QueryTokenize constructor needs query string as a parameter.
__construct
Zend_Search_Lucene_Search_Query_Term constructor
__construct
Class constructor. Create a new Boolean query object.
__construct
Zend_Search_Lucene_Search_Weight_MultiTerm constructor query - the query that this concerns.
__construct
Zend_Search_Lucene_Search_Weight_Term constructor reader - index reader
__construct
Constructor - pass object handle of Zend_Search_Lucene index that produced the hit so the document can be retrieved easily from the hit.
__construct
Class constructor. Create a new prase query.
__construct
Zend_Search_Lucene_Search_Weight_Phrase constructor
__construct
Zend_Search_Lucene_Search_Weight_Boolean constructor query - the query that this concerns.
__construct
Class constructor. Create a new multi-term query object.
__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
Read a $length bytes from the file and advance the file pointer.
_fread
Reads $length number of bytes at the current position in the file and advances 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.
a
top
addDocument
Adds a document to this index.
addFilter
Add Token filter to the Analyzer
Analyzer.php
Analyzer.php in Analyzer.php
addField
Add a field object to this document.
addDocument
Adds a document to this index.
addDocument
Adds a document to this segment.
addField
Add field to the segment
addFieldInfo
Add fieldInfo to the segment
addIndexes
Merges the provided indexes into this index.
addNorm
addSource
Add segmnet to a collection of segments to be merged
addStoredFields
Add stored fields information
addTerm
Add term
addSubquery
Add a $subquery (Zend_Search_Lucene_Query) to this query.
addTerm
Adds a term to the end of the query phrase.
addTerm
Add a $term (Zend_Search_Lucene_Index_Term) to this query.
b
top
$boost
$boost
Binary
Constructs a Binary String valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
Boolean.php
Boolean.php in Boolean.php
Boolean.php
Boolean.php in Boolean.php
c
top
commit
Commit changes resulting from delete() or undeleteAll() operations.
count
Returns the total number of documents in this index.
CaseInsensitive.php
CaseInsensitive.php in CaseInsensitive.php
CaseInsensitive.php
CaseInsensitive.php in CaseInsensitive.php
Common.php
Common.php in Common.php
clear
Clear queue
close
Close segment, write it to disk and return segment info
close
Close segment, write it to disk and return segment info
close
Close segment, write it to disk and return segment info
closeDictionaryFiles
Close dictionary
commit
Commit current changes
count
Returns the total number of documents in this segment.
count
Returns the total number of documents in this segment.
createStoredFieldsFiles
Create stored fields files and open them for write
currentTerm
Returns term in current position
currentTermPositions
Returns an array of all term positions in the documents.
coord
Computes a score factor based on the fraction of all query terms that a document contains. This value is multiplied into scores.
coord
Implemented as 'overlap/maxOverlap'.
count
Returns number of tokens
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.
createWeight
Constructs an appropriate Weight implementation for this query.
current
Returns the token at the current position or FALSE if the position does not contain a valid token.
close
Closes the store.
close
Closes the store.
close
Close File object
createFile
Creates a new, empty file in the directory with the given $filename.
createFile
Creates a new, empty file in the directory with the given $filename.
d
top
delete
Deletes a document from the index.
docFreq
Returns the number of documents in this index containing the $term.
Document.php
Document.php in Document.php
$docFreq
The number of documents which contain the term.
delete
Deletes a document from the index segment.
DocumentWriter.php
DocumentWriter.php in DocumentWriter.php
decodeNorm
Decodes a normalization factor stored in an index.
Default.php
Default.php in Default.php
deleteFile
Removes an existing $filename in the directory.
deleteFile
Removes an existing $filename in the directory.
Directory.php
Directory.php in Directory.php
e
top
Exception.php
Exception.php in Exception.php
encodeNorm
Encodes a normalization factor for storage in an index.
f
top
find
Performs a query against the index and returns an array of Zend_Search_Lucene_Search_QueryHit objects.
Field.php
Field.php in Field.php
$field
Field name or field number (depending from context)
$freqPointer
Data offset in a Frequencies file.
FieldInfo.php
FieldInfo.php in FieldInfo.php
fileExists
Returns true if a file with the given $filename exists.
fileExists
Returns true if a file with the given $filename exists.
fileLength
Returns the length of a $filename in the directory.
fileLength
Returns the length of a $filename in the directory.
fileList
Returns an array of strings, one for each file in the directory.
fileList
Returns an array of strings, one for each file in the directory.
fileModified
Returns the UNIX timestamp $filename was last modified.
fileModified
Returns the UNIX timestamp $filename was last modified.
Filesystem.php
Filesystem.php in Filesystem.php
Filesystem.php
Filesystem.php in Filesystem.php
File.php
File.php in File.php
g
top
getDirectory
Returns the Zend_Search_Lucene_Storage_Directory 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
getMaxBufferedDocs
Retrieve index maxBufferedDocs option
getMaxMergeDocs
Retrieve index maxMergeDocs option
getMergeFactor
Retrieve index mergeFactor option
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
getFieldInfos
Returns array of FieldInfo objects.
getFieldInfos
Returns array of FieldInfo objects.
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 subqueries signs
getSigns
Return terms signs
getSlop
Get slop
getSubqueries
Returns subqueries
getTerms
Returns query term
getTerms
Returns query term
getValue
The weight for this query.
getValue
The weight for this query Standard Weight::$_value is not used for boolean queries
getValue
The weight for this query Standard Weight::$_value is not used for boolean queries
getFileObject
Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory.
getFileObject
Returns a Zend_Search_Lucene_Storage_File object for a given $filename in the directory.
h
top
hasDeletions
Returns true if any documents have been deleted from this index.
hasDeletions
Returns true if any documents have been deleted from this index segment.
i
top
$isBinary
$isIndexed
$isStored
$isTokenized
$indexInterval
Expert: The fraction of terms in the "dictionary" which should be stored
$indexPointer
Term offset of the _next_ term in a TermDictionary file.
$isIndexed
initializeDictionaryFiles
Create dicrionary, frequency and positions files and write necessary headers
isDeleted
Checks, that document is deleted
$id
Number of the document in the index
idf
Computes a score factor for a simple term or a phrase.
idfFreq
Computes a score factor based on a term's document frequency (the number of documents which contain the term). This value is multiplied by the tf(int) factor for each term in the query and these products are then summed to form the initial score for a document.
idfFreq
Implemented as 'log(numDocs/(docFreq+1)) + 1'.
k
top
$kind
Keyword
Constructs a String-valued Field that is not tokenized, but is indexed and stored. Useful for non-text fields, e.g. date or url.
key
Returns term key
key
Return the position of the current token.
l
top
Lucene.php
Lucene.php in Lucene.php
LowerCase.php
LowerCase.php in LowerCase.php
lengthNorm
Computes the normalization value for a field given the total number of terms contained in a field. These values, together with field boosts, are stored in an index and multipled into scores for hits on each field by the search code.
lengthNorm
Implemented as '1/sqrt(numTerms)'.
m
top
$maxBufferedDocs
Number of documents required before the buffered in-memory documents are written into a new Segment
$maxMergeDocs
Largest number of documents ever merged by addDocument().
$mergeFactor
Determines how often segment indices are merged by addDocument().
merge
Do merge.
MultiTerm.php
MultiTerm.php in MultiTerm.php
MultiTerm.php
MultiTerm.php in MultiTerm.php
mkdirs
Utility function to recursive directory creation
n
top
norm
Returns a normalization factor for "field, document" pair.
normalize
Normalize Token or remove it (if null is returned)
normalize
Normalize Token or remove it (if null is returned)
normalize
Apply filters to the token.
$name
$name
$number
nextTerm
Scans terms dictionary and returns next term
norm
Returns normalization factor for specified documents
normVector
Returns norm vector, encoded in a byte string
next
Returns next token
normalize
Assigns the query normalization factor to this.
normalize
Assigns the query normalization factor to this.
normalize
Assigns the query normalization factor to this.
normalize
Assigns the query normalization factor to this.
normalize
Assigns the query normalization factor to this.
o
top
optimize
Optimize index.
openCompoundFile
Opens index file stoted within compound index file
optimize
Merges all segments together into a single segment, optimizing an index for search.
TOKTYPE_BRACKET
Token type Bracket.
TOKTYPE_FIELD
Token type Field.
TOKTYPE_SIGN
Token type Sign.
TOKTYPE_WORD
Token type Word.
p
top
pop
Removes and return least element of the queue
put
Add element to the queue
PriorityQueue.php
PriorityQueue.php in PriorityQueue.php
$proxPointer
Data offset in a Positions file.
parse
Parses a query string, returning a Zend_Search_Lucene_Search_Query
Phrase.php
Phrase.php in Phrase.php
Phrase.php
Phrase.php in Phrase.php
q
top
queryNorm
Computes the normalization value for a query given the sum of the squared weights of each of the query terms. This value is then multipled into the weight of each query term.
queryNorm
Implemented as '1/sqrt(sumOfSquaredWeights)'.
Query.php
Query.php in Query.php
QueryHit.php
QueryHit.php in QueryHit.php
QueryParser.php
QueryParser.php in QueryParser.php
QueryToken.php
QueryToken.php in QueryToken.php
QueryTokenizer.php
QueryTokenizer.php in QueryTokenizer.php
r
top
reset
Reset terms stream
reset
Reset query, so it can be reused within other queries or
rewind
Resets token stream.
readBinary
Reads binary data from the current position in the file and advances the file pointer.
readByte
Reads a byte from the current position in the file and advances the file pointer.
readBytes
Read num bytes from the current position in the file and advances the file pointer.
readInt
Reads an integer from the current position in the file and advances the file pointer.
readLong
Returns a long integer from the current position in the file and advances the file pointer.
readString
Reads a string from the current position in the file and advances the file pointer.
readVInt
Returns a variable-length integer from the current position in the file and advances the file pointer.
renameFile
Renames an existing file in the directory.
renameFile
Renames an existing file in the directory.
s
top
setMaxBufferedDocs
Set index maxBufferedDocs option
setMaxMergeDocs
Set index maxMergeDocs option
setMergeFactor
Set index mergeFactor option
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
SegmentInfo.php in SegmentInfo.php
SegmentInfoPriorityQueue.php
SegmentInfoPriorityQueue.php in SegmentInfoPriorityQueue.php
SegmentMerger.php
SegmentMerger.php in SegmentMerger.php
StreamWriter.php
StreamWriter.php in StreamWriter.php
SegmentWriter.php
SegmentWriter.php in SegmentWriter.php
$score
Score of the hit
score
Score specified document
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.
sumOfSquaredWeights
The sum of squared weights of contained query clauses.
Similarity.php
Similarity.php in Similarity.php
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
t
top
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 Zend_Search_Lucene_Analysis_Token objects
tokenize
Tokenize text to a terms Returns array of Zend_Search_Lucene_Analysis_Token objects
tokenize
Tokenize text to a terms Returns array of Zend_Search_Lucene_Analysis_Token objects
Text.php
Text.php in Text.php
TextNum.php
TextNum.php in TextNum.php
Token.php
Token.php in Token.php
TokenFilter.php
TokenFilter.php in TokenFilter.php
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.
top
Return least element of the queue
$text
Term value
Term.php
Term.php in Term.php
TermInfo.php
TermInfo.php in TermInfo.php
$text
Token text.
$type
Token type.
tf
Implemented as 'sqrt(freq)'.
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.
Term.php
Term.php in Term.php
Term.php
Term.php in Term.php
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.
u
top
undeleteAll
Undeletes all documents currently marked as deleted in this index.
UnIndexed
Constructs a String-valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
UnStored
Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.
v
top
valid
Returns TRUE if a token exists at the current position.
w
top
writeChanges
Write changes if it's necessary.
Writer.php
Writer.php in Writer.php
Weight.php
Weight.php in Weight.php
writeByte
Writes a byte to the end of the file.
writeBytes
Writes num bytes of data (all, if $num===null) to the end of the string.
writeInt
Writes an integer to the end of file.
writeLong
Writes long integer to the end of file
writeString
Writes a string to the end of file.
writeVInt
Writes a variable-length integer to the end of file.
z
top
Zend_Search_Lucene
Zend_Search_Lucene in Lucene.php
Zend_Search_Lucene_Exception
Zend_Search_Lucene_Analysis_Analyzer
An Analyzer is used to analyze text.
Zend_Search_Lucene_Analysis_Analyzer_Common
Common implementation of the Zend_Search_Lucene_Analysis_Analyzer interface.
Zend_Search_Lucene_Analysis_Analyzer_Common_Text
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum
Zend_Search_Lucene_Analysis_Analyzer_Common_TextNum_CaseInsensitive
Zend_Search_Lucene_Analysis_Analyzer_Common_Text_CaseInsensitive
Zend_Search_Lucene_Analysis_Token
Zend_Search_Lucene_Analysis_TokenFilter
Token filter converts (normalizes) Token ore removes it from a token stream.
Zend_Search_Lucene_Analysis_TokenFilter_LowerCase
Lower case Token filter.
Zend_Search_Lucene_Document
A Document is a set of fields. Each field has a name and a textual value.
Zend_Search_Lucene_Field
A field is a section of a Document. Each field has two parts,
Zend_Search_Lucene_PriorityQueue
Abstract Priority Queue
Zend_Search_Lucene_Index_FieldInfo
Zend_Search_Lucene_Index_SegmentInfo
Zend_Search_Lucene_Index_SegmentInfoPriorityQueue
Zend_Search_Lucene_Index_SegmentMerger
Zend_Search_Lucene_Index_SegmentWriter
Zend_Search_Lucene_Index_SegmentWriter_DocumentWriter
Zend_Search_Lucene_Index_SegmentWriter_StreamWriter
Zend_Search_Lucene_Index_Term
A Term represents a word from text. This is the unit of search. It is composed of two elements, the text of the word, as a string, and the name of the field that the text occured in, an interned string.
Zend_Search_Lucene_Index_TermInfo
A Zend_Search_Lucene_Index_TermInfo represents a record of information stored for a term.
Zend_Search_Lucene_Index_Writer
Zend_Search_Lucene_Search_Query
Zend_Search_Lucene_Search_QueryHit
Zend_Search_Lucene_Search_QueryParser
Zend_Search_Lucene_Search_QueryToken
Zend_Search_Lucene_Search_QueryTokenizer
Zend_Search_Lucene_Search_Query_Boolean
Zend_Search_Lucene_Search_Query_MultiTerm
Zend_Search_Lucene_Search_Query_Phrase
A Query that matches documents containing a particular sequence of terms.
Zend_Search_Lucene_Search_Query_Term
Zend_Search_Lucene_Search_Similarity
Zend_Search_Lucene_Search_Similarity_Default
Zend_Search_Lucene_Search_Weight
Calculate query weights and build query scorers.
Zend_Search_Lucene_Search_Weight_Boolean
Zend_Search_Lucene_Search_Weight_MultiTerm
Zend_Search_Lucene_Search_Weight_Phrase
Zend_Search_Lucene_Search_Weight_Term
Zend_Search_Lucene_Storage_Directory
Zend_Search_Lucene_Storage_Directory_Filesystem
FileSystem implementation of Directory abstraction.
Zend_Search_Lucene_Storage_File
Zend_Search_Lucene_Storage_File_Filesystem
a b c d e f g h i k l m n o p q r s t u v w z _