Interface FieldCache.IParser
Marker interface as super-interface to all parsers. It is used to specify a custom parser to SortField(String, FieldCache.IParser).
Namespace: Lucene.Net.Search
Assembly: Lucene.Net.dll
Syntax
public interface IParser
Methods
| Improve this Doc View SourceGetTermsEnum(Terms)
Pulls a TermsEnum from the given Terms. This method allows certain parsers to filter the actual TermsEnum before the field cache is filled.
Declaration
TermsEnum GetTermsEnum(Terms terms)
Parameters
Type | Name | Description |
---|---|---|
Terms | terms |
Returns
Type | Description |
---|---|
TermsEnum | A possibly filtered TermsEnum instance, this method must not return |
Exceptions
Type | Condition |
---|---|
System.IO.IOException | If an System.IO.IOException occurs |