Package org.alfresco.solr.query
Class CachingTermPositions
java.lang.Object
org.apache.lucene.search.DocIdSetIterator
org.apache.lucene.index.PostingsEnum
org.alfresco.solr.query.CachingTermPositions
public class CachingTermPositions
extends org.apache.lucene.index.PostingsEnum
- Author:
- andyh TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates
-
Field Summary
Fields inherited from class org.apache.lucene.index.PostingsEnum
ALL, FREQS, NONE, OFFSETS, PAYLOADS, POSITIONSFields inherited from class org.apache.lucene.search.DocIdSetIterator
NO_MORE_DOCS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.lucene.index.PostingsEnum
featureRequestedMethods inherited from class org.apache.lucene.search.DocIdSetIterator
all, empty, slowAdvance
-
Constructor Details
-
CachingTermPositions
public CachingTermPositions(org.apache.lucene.index.PostingsEnum delegate)
-
-
Method Details
-
nextPosition
- Specified by:
nextPositionin classorg.apache.lucene.index.PostingsEnum- Throws:
IOException
-
reset
public void reset() -
hashCode
public int hashCode() -
freq
- Specified by:
freqin classorg.apache.lucene.index.PostingsEnum- Returns:
- int
- Throws:
IOException- See Also:
-
org.apache.lucene.index.DocsEnum#freq()
-
startOffset
- Specified by:
startOffsetin classorg.apache.lucene.index.PostingsEnum- Returns:
- int
- Throws:
IOException- See Also:
-
org.apache.lucene.index.DocsAndPositionsEnum#startOffset()
-
endOffset
- Specified by:
endOffsetin classorg.apache.lucene.index.PostingsEnum- Returns:
- int
- Throws:
IOException- See Also:
-
org.apache.lucene.index.DocsAndPositionsEnum#endOffset()
-
docID
public int docID()- Specified by:
docIDin classorg.apache.lucene.search.DocIdSetIterator- Returns:
- int
- See Also:
-
DocIdSetIterator.docID()
-
getPayload
- Specified by:
getPayloadin classorg.apache.lucene.index.PostingsEnum- Returns:
- BytesRef
- Throws:
IOException- See Also:
-
org.apache.lucene.index.DocsAndPositionsEnum#getPayload()
-
attributes
public org.apache.lucene.util.AttributeSource attributes()- Overrides:
attributesin classorg.apache.lucene.index.PostingsEnum- Returns:
- AttributeSource
- See Also:
-
org.apache.lucene.index.DocsEnum#attributes()
-
nextDoc
- Specified by:
nextDocin classorg.apache.lucene.search.DocIdSetIterator- Returns:
- int
- Throws:
IOException- See Also:
-
DocIdSetIterator.nextDoc()
-
advance
- Specified by:
advancein classorg.apache.lucene.search.DocIdSetIterator- Parameters:
target- int- Returns:
- int
- Throws:
IOException- See Also:
-
DocIdSetIterator.advance(int)
-
equals
-
cost
public long cost()- Specified by:
costin classorg.apache.lucene.search.DocIdSetIterator- Returns:
- long
- See Also:
-
DocIdSetIterator.cost()
-
toString
-