Class NormValueSource
Function that returns
for every document.
Note that the configured Similarity for the field must be
a subclass of TFIDFSimilarity
@lucene.internal
Inheritance
System.Object
NormValueSource
Assembly: Lucene.Net.Queries.dll
Syntax
public class NormValueSource : ValueSource
Constructors
|
Improve this Doc
View Source
NormValueSource(String)
Declaration
public NormValueSource(string field)
Parameters
Type |
Name |
Description |
System.String |
field |
|
Fields
|
Improve this Doc
View Source
m_field
Declaration
protected readonly string m_field
Field Value
Type |
Description |
System.String |
|
Properties
|
Improve this Doc
View Source
Name
Declaration
public virtual string Name { get; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Improve this Doc
View Source
CreateWeight(IDictionary, IndexSearcher)
Declaration
public override void CreateWeight(IDictionary context, IndexSearcher searcher)
Parameters
Overrides
|
Improve this Doc
View Source
Equals(Object)
Declaration
public override bool Equals(object o)
Parameters
Type |
Name |
Description |
System.Object |
o |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
|
Improve this Doc
View Source
GetDescription()
Declaration
public override string GetDescription()
Returns
Type |
Description |
System.String |
|
Overrides
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Overrides
|
Improve this Doc
View Source
GetValues(IDictionary, AtomicReaderContext)
Declaration
public override FunctionValues GetValues(IDictionary context, AtomicReaderContext readerContext)
Parameters
Returns
Overrides