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
public abstract static class FieldCache.PointParser extends Object implements FieldCache.Parser
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 Constructor Description PointParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, wait
-
Methods inherited from interface org.apache.solr.uninverting.FieldCache.Parser
parseValue
-
-
-
-
Method Detail
-
termsEnum
public final org.apache.lucene.index.TermsEnum termsEnum(org.apache.lucene.index.Terms terms) throws IOExceptionDescription 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
-
-