Class InputIteratorWrapper
Wraps a as a suggester IInputIterator, with all weights
set to 1
and carries no payload
Inheritance
System.Object
InputIteratorWrapper
Implements
IBytesRefIterator
Assembly: Lucene.Net.Suggest.dll
public class InputIteratorWrapper : object, IInputIterator, IBytesRefIterator
Constructors
|
Improve this Doc
View Source
Creates a new wrapper, wrapping the specified iterator and
specifying a weight value of 1
for all terms
and nullifies associated payloads.
Declaration
public InputIteratorWrapper(IBytesRefIterator wrapped)
Parameters
Type |
Name |
Description |
IBytesRefIterator |
wrapped |
|
Properties
|
Improve this Doc
View Source
Declaration
public virtual IComparer<BytesRef> Comparer { get; }
Property Value
Type |
Description |
IComparer<BytesRef> |
|
|
Improve this Doc
View Source
Contexts
Declaration
public virtual IEnumerable<BytesRef> Contexts { get; }
Property Value
Type |
Description |
IEnumerable<BytesRef> |
|
|
Improve this Doc
View Source
HasContexts
Declaration
public virtual bool HasContexts { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public virtual bool HasPayloads { get; }
Property Value
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Declaration
public virtual BytesRef Payload { get; }
Property Value
Type |
Description |
BytesRef |
|
|
Improve this Doc
View Source
Declaration
public virtual long Weight { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
|
Improve this Doc
View Source
Declaration
public virtual BytesRef Next()
Returns
Type |
Description |
BytesRef |
|
Implements
IBytesRefIterator