Lucene.Net
3.0.3
Lucene.Net is a port of the Lucene search engine library, written in C# and targeted at .NET runtime users.
|
Inherits Lucene.Net.Search.Function.DocValues.
Public Member Functions | |
CachingDoubleDocValue (int docBase, DocValues vals, Dictionary< int, double > cache) | |
override double | DoubleVal (int doc) |
Return doc value as a double. Optional: DocValues implementation can (but don't have to) override this method. | |
override float | FloatVal (int doc) |
Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method. | |
override string | ToString (int doc) |
Return a string representation of a doc value, as reuired for Explanations. | |
Public Member Functions inherited from Lucene.Net.Search.Function.DocValues | |
virtual int | IntVal (int doc) |
Return doc value as an int. Optional: DocValues implementation can (but don't have to) override this method. | |
virtual long | LongVal (int doc) |
Return doc value as a long. Optional: DocValues implementation can (but don't have to) override this method. | |
virtual System.String | StrVal (int doc) |
Return doc value as a string. Optional: DocValues implementation can (but don't have to) override this method. | |
virtual Explanation | Explain (int doc) |
Explain the scoring value for the input doc. | |
virtual float | GetMinValue () |
Returns the minimum of all values or Float.NaN if this DocValues instance does not contain any value. This operation is optional | |
virtual float | GetMaxValue () |
Returns the maximum of all values or Float.NaN if this DocValues instance does not contain any value. This operation is optional | |
virtual float | GetAverageValue () |
Returns the average of all values or Float.NaN if this DocValues instance does not contain any value. * This operation is optional | |
Definition at line 35 of file CachingDoubleValueSource.cs.
Lucene.Net.Spatial.Util.CachingDoubleValueSource.CachingDoubleDocValue.CachingDoubleDocValue | ( | int | docBase, |
DocValues | vals, | ||
Dictionary< int, double > | cache | ||
) |
Definition at line 41 of file CachingDoubleValueSource.cs.
|
virtual |
Return doc value as a double. Optional: DocValues implementation can (but don't have to) override this method.
doc | document whose double value is requested. |
Reimplemented from Lucene.Net.Search.Function.DocValues.
Definition at line 48 of file CachingDoubleValueSource.cs.
|
virtual |
Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method.
doc | document whose float value is requested. |
Implements Lucene.Net.Search.Function.DocValues.
Definition at line 60 of file CachingDoubleValueSource.cs.
|
virtual |
Return a string representation of a doc value, as reuired for Explanations.
Implements Lucene.Net.Search.Function.DocValues.
Definition at line 65 of file CachingDoubleValueSource.cs.