Class IDFValueSource
Function that returns Idf(Int64, Int64) for every document.
Note that the configured Similarity for the field must be
a subclass of Lucene.
This is a Lucene.NET INTERNAL API, use at your own risk
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Lucene.Net.Queries.Function.ValueSources
Assembly: Lucene.Net.Queries.dll
Syntax
public class IDFValueSource : DocFreqValueSource
Constructors
| Improve this Doc View SourceIDFValueSource(String, String, String, BytesRef)
Declaration
public IDFValueSource(string field, string val, string indexedField, BytesRef indexedBytes)
Parameters
Type | Name | Description |
---|---|---|
System. |
field | |
System. |
val | |
System. |
indexedField | |
Lucene. |
indexedBytes |
Properties
| Improve this Doc View SourceName
Declaration
public override string Name { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
Methods
| Improve this Doc View SourceGetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Type | Name | Description |
---|---|---|
System. |
context | |
Lucene. |
readerContext |
Returns
Type | Description |
---|---|
Function |