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.TermsEnum
termsEnum(org.apache.lucene.index.Terms terms)
Pulls aTermsEnum
from 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 IOException
Description copied from interface:FieldCache.Parser
Pulls aTermsEnum
from the givenTerms
. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.- Specified by:
termsEnum
in interfaceFieldCache.Parser
- Parameters:
terms
- theTerms
instance to create theTermsEnum
from.- Returns:
- a possibly filtered
TermsEnum
instance, this method must not returnnull
. - Throws:
IOException
- if anIOException
occurs
-
-