Package org.apache.solr.uninverting
Class FieldCache.PointParser
java.lang.Object
org.apache.solr.uninverting.FieldCache.PointParser
- All Implemented Interfaces:
FieldCache.Parser
- Enclosing interface:
FieldCache
Base class for points parsers. These parsers do not use the inverted index, but instead
uninvert point data.
This abstraction can be cleaned up when Parser.termsEnum is removed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal org.apache.lucene.index.TermsEnumtermsEnum(org.apache.lucene.index.Terms terms) Pulls aTermsEnumfrom the givenTerms.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.solr.uninverting.FieldCache.Parser
parseValue
-
Constructor Details
-
PointParser
public PointParser()
-
-
Method Details
-
termsEnum
public final org.apache.lucene.index.TermsEnum termsEnum(org.apache.lucene.index.Terms terms) throws IOException Description copied from interface:FieldCache.ParserPulls aTermsEnumfrom the givenTerms. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.- Specified by:
termsEnumin interfaceFieldCache.Parser- Parameters:
terms- theTermsinstance to create theTermsEnumfrom.- Returns:
- a possibly filtered
TermsEnuminstance, this method must not returnnull. - Throws:
IOException- if anIOExceptionoccurs
-