Package org.apache.solr.uninverting
Interface FieldCache.Parser
-
- All Known Implementing Classes:
FieldCache.PointParser
- Enclosing interface:
- FieldCache
public static interface FieldCache.Parserinterface 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 longparseValue(org.apache.lucene.util.BytesRef term)Parse's this field's valueorg.apache.lucene.index.TermsEnumtermsEnum(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 aTermsEnumfrom the givenTerms. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.- Parameters:
terms- theTermsinstance to create theTermsEnumfrom.- Returns:
- a possibly filtered
TermsEnuminstance, this method must not returnnull. - Throws:
IOException- if anIOExceptionoccurs
-
parseValue
long parseValue(org.apache.lucene.util.BytesRef term)
Parse's this field's value
-
-