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.
|
Expert: represents field values as different types. Normally created via a ValueSuorce for a particular field and reader. More...
Inherited by Lucene.Net.Search.Function.ByteFieldSource.AnonymousClassDocValues, Lucene.Net.Search.Function.FloatFieldSource.AnonymousClassDocValues, Lucene.Net.Search.Function.IntFieldSource.AnonymousClassDocValues, Lucene.Net.Search.Function.OrdFieldSource.AnonymousClassDocValues, Lucene.Net.Search.Function.ReverseOrdFieldSource.AnonymousClassDocValues, Lucene.Net.Search.Function.ShortFieldSource.AnonymousClassDocValues, Lucene.Net.Spatial.BBox.BBoxSimilarityValueSource.BBoxSimilarityValueSourceDocValues, Lucene.Net.Spatial.Util.CachingDoubleValueSource.CachingDoubleDocValue, Lucene.Net.Spatial.Util.ReciprocalFloatFunction.FloatDocValues, Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.CachedDistanceDocValues, and Lucene.Net.Spatial.Vector.DistanceValueSource.DistanceDocValues.
Public Member Functions | |
abstract float | FloatVal (int doc) |
Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method. | |
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 double | DoubleVal (int doc) |
Return doc value as a double. 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. | |
abstract System.String | ToString (int doc) |
Return a string representation of a doc value, as reuired for Explanations. | |
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 | |
Expert: represents field values as different types. Normally created via a ValueSuorce for a particular field and reader.
<font color="#FF0000"> WARNING: The status of the Search.Function package is experimental. The APIs introduced here might change in the future and will not be supported anymore in such a case.</font>
Definition at line 37 of file DocValues.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 in Lucene.Net.Spatial.Vector.DistanceValueSource.DistanceDocValues, Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.CachedDistanceDocValues, and Lucene.Net.Spatial.Util.CachingDoubleValueSource.CachingDoubleDocValue.
Definition at line 80 of file DocValues.cs.
|
virtual |
Explain the scoring value for the input doc.
Definition at line 99 of file DocValues.cs.
|
pure virtual |
Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method.
doc | document whose float value is requested. |
Implemented in Lucene.Net.Spatial.Vector.DistanceValueSource.DistanceDocValues, Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.CachedDistanceDocValues, Lucene.Net.Spatial.Util.CachingDoubleValueSource.CachingDoubleDocValue, and Lucene.Net.Spatial.Util.ReciprocalFloatFunction.FloatDocValues.
|
virtual |
Returns the average of all values or Float.NaN
if this DocValues instance does not contain any value. * This operation is optional
Float.NaN
if this DocValues instance does not contain any value Definition at line 200 of file DocValues.cs.
|
virtual |
Returns the maximum of all values or Float.NaN
if this DocValues instance does not contain any value. This operation is optional
Float.NaN
if this DocValues instance does not contain any value. Definition at line 183 of file DocValues.cs.
|
virtual |
Returns the minimum of all values or Float.NaN
if this DocValues instance does not contain any value. This operation is optional
Float.NaN
if this DocValues instance does not contain any value. Definition at line 166 of file DocValues.cs.
|
virtual |
Return doc value as an int. Optional: DocValues implementation can (but don't have to) override this method.
doc | document whose int value is requested. |
Definition at line 60 of file DocValues.cs.
|
virtual |
Return doc value as a long. Optional: DocValues implementation can (but don't have to) override this method.
doc | document whose long value is requested. |
Definition at line 70 of file DocValues.cs.
|
virtual |
Return doc value as a string. Optional: DocValues implementation can (but don't have to) override this method.
doc | document whose string value is requested. |
Definition at line 90 of file DocValues.cs.
|
pure virtual |
Return a string representation of a doc value, as reuired for Explanations.
Implemented in Lucene.Net.Spatial.Vector.DistanceValueSource.DistanceDocValues, Lucene.Net.Spatial.Util.ShapeFieldCacheDistanceValueSource.CachedDistanceDocValues, Lucene.Net.Spatial.Util.CachingDoubleValueSource.CachingDoubleDocValue, and Lucene.Net.Spatial.Util.ReciprocalFloatFunction.FloatDocValues.