C# Class Lucene.Net.Search.Spell.TermFreqIteratorWrapper

Wraps a BytesRefIterator as a TermFreqIterator, with all weights set to 1
Inheritance: TermFreqIterator
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
Next ( ) : BytesRef
TermFreqIteratorWrapper ( BytesRefIterator wrapped ) : Lucene.Net.Util

Creates a new wrapper, wrapping the specified iterator and specifying a weight value of 1 for all terms.

Method Details

Next() public method

public Next ( ) : BytesRef
return BytesRef

TermFreqIteratorWrapper() public method

Creates a new wrapper, wrapping the specified iterator and specifying a weight value of 1 for all terms.
public TermFreqIteratorWrapper ( BytesRefIterator wrapped ) : Lucene.Net.Util
wrapped BytesRefIterator
return Lucene.Net.Util