Package org.apache.solr.uninverting
Interface FieldCache.Parser
-
- All Known Implementing Classes:
FieldCache.PointParser
- Enclosing interface:
- FieldCache
public static interface FieldCache.Parser
interface to all parsers. It is used to parse different numeric types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description long
parseValue(org.apache.lucene.util.BytesRef term)
Parse's this field's valueorg.apache.lucene.index.TermsEnum
termsEnum(org.apache.lucene.index.Terms terms)
Deprecated.index with Points instead
-
-
-
Method Detail
-
termsEnum
@Deprecated org.apache.lucene.index.TermsEnum termsEnum(org.apache.lucene.index.Terms terms) throws IOException
Deprecated.index with Points insteadPulls aTermsEnum
from the givenTerms
. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.- Parameters:
terms
- theTerms
instance to create theTermsEnum
from.- Returns:
- a possibly filtered
TermsEnum
instance, this method must not returnnull
. - Throws:
IOException
- if anIOException
occurs
-
parseValue
long parseValue(org.apache.lucene.util.BytesRef term)
Parse's this field's value
-
-