Class UnsortedInputIterator
This wrapper buffers the incoming elements and makes sure they are in random order.
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Search.Suggest
Assembly: Lucene.Net.Suggest.dll
Syntax
public class UnsortedInputIterator : BufferedInputIterator, IInputIterator, IBytesRefIterator
Constructors
| Improve this Doc View SourceUnsortedInputIterator(IInputIterator)
Creates a new iterator, wrapping the specified iterator and returning elements in a random order.
Declaration
public UnsortedInputIterator(IInputIterator source)
Parameters
Type | Name | Description |
---|---|---|
IInputIterator | source |
Properties
| Improve this Doc View SourceContexts
Declaration
public override IEnumerable<BytesRef> Contexts { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<BytesRef> |
Overrides
| Improve this Doc View SourcePayload
Declaration
public override BytesRef Payload { get; }
Property Value
Type | Description |
---|---|
BytesRef |
Overrides
| Improve this Doc View SourceWeight
Declaration
public override long Weight { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Overrides
Methods
| Improve this Doc View SourceNext()
Declaration
public override BytesRef Next()
Returns
Type | Description |
---|---|
BytesRef |