Class TermFreqIteratorWrapper
Wraps a BytesRefIterator as a TermFreqIterator, with all weights set to
1
Inheritance
System.Object
    TermFreqIteratorWrapper
  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.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class TermFreqIteratorWrapper : ITermFreqIterator, IBytesRefIterator
  Constructors
| Improve this Doc View SourceTermFreqIteratorWrapper(IBytesRefIterator)
Creates a new wrapper, wrapping the specified iterator and specifying a weight value of
1 for all terms.
Declaration
public TermFreqIteratorWrapper(IBytesRefIterator wrapped)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IBytesRefIterator | wrapped | 
Properties
| Improve this Doc View SourceComparer
Declaration
public virtual IComparer<BytesRef> Comparer { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Collections.Generic.IComparer<BytesRef> | 
Weight
Declaration
public virtual long Weight { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
Methods
| Improve this Doc View SourceNext()
Declaration
public virtual BytesRef Next()
  Returns
| Type | Description | 
|---|---|
| BytesRef |