Interface IInputIterator
Interface for enumerating term,weight,payload triples for suggester consumption; currently only AnalyzingSuggester, FuzzySuggester and AnalyzingInfixSuggester support payloads.
Assembly: Lucene.Net.Suggest.dll
Syntax
public interface IInputIterator : IBytesRefIterator
Properties
Name | Description |
---|---|
Contexts | A term's contexts context can be used to filter suggestions. May return null, if suggest entries do not have any context |
HasContexts | Returns true if the iterator has contexts |
HasPayloads | Returns true if the iterator has payloads |
Payload | An arbitrary byte[] to record per suggestion. See Payload to retrieve the payload for each suggestion. |
Weight | A term's weight, higher numbers mean better suggestions. |