|
Lucene.Net
3.0.3
Lucene.Net is a .NET port of the Java Lucene Indexing Library
|
Inherits Lucene.Net.Search.Function.DocValues.
Public Member Functions | |
| CachedDistanceDocValues (IndexReader reader, ShapeFieldCacheDistanceValueSource enclosingInstance) | |
| override float | FloatVal (int doc) |
| Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method. | |
| override double | DoubleVal (int doc) |
| Return doc value as a double. Optional: DocValues implementation can (but don't have to) override 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 43 of file ShapeFieldCacheDistanceValueSource.cs.
| Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.CachedDistanceDocValues.CachedDistanceDocValues | ( | IndexReader | reader, |
| ShapeFieldCacheDistanceValueSource | enclosingInstance | ||
| ) |
Definition at line 51 of file ShapeFieldCacheDistanceValueSource.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 66 of file ShapeFieldCacheDistanceValueSource.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 61 of file ShapeFieldCacheDistanceValueSource.cs.
|
virtual |
Return a string representation of a doc value, as reuired for Explanations.
Implements Lucene.Net.Search.Function.DocValues.
Definition at line 81 of file ShapeFieldCacheDistanceValueSource.cs.
1.8.3