Class HighFrequencyDictionary
HighFrequencyDictionary: terms taken from the given field of a Lucene index, which appear in a number of documents above a given threshold.
Threshold is a value in [0..1] representing the minimum number of documents (of the total) where a term should appear.
Based on LuceneDictionary.
Inheritance
System.Object
HighFrequencyDictionary
Implements
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 HighFrequencyDictionary : IDictionary
Constructors
| Improve this Doc View SourceHighFrequencyDictionary(IndexReader, String, Single)
Creates a new Dictionary, pulling source terms from the specified
field in the provided reader.
Terms appearing in less than
thresh percentage of documents
will be excluded.
Declaration
public HighFrequencyDictionary(IndexReader reader, string field, float thresh)
Parameters
| Type | Name | Description |
|---|---|---|
| IndexReader | reader | |
| System.String | field | |
| System.Single | thresh |
Methods
| Improve this Doc View SourceGetEntryIterator()
Declaration
public IInputIterator GetEntryIterator()
Returns
| Type | Description |
|---|---|
| IInputIterator |