Class DocValues
Expert: represents field values as different types.
Normally created via a
Value
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.
Inheritance
Namespace:
Assembly: Lucene.Net.NetCore.dll
Syntax
public abstract class DocValues : object
Properties
Name | Description |
---|---|
Inner |
Expert: for test purposes only, return the inner array of values, or null if not applicable. Allows tests to verify that loaded values are: |
Methods
Name | Description |
---|---|
Double |
Return doc value as a double. Optional: DocValues implementation can (but don't have to) override this method. |
Explain(Int32) | Explain the scoring value for the input doc. |
Float |
Return doc value as a float. Mandatory: every DocValues implementation must implement at least this method. |
Get |
Returns the average of all values or This operation is optional
|
Get |
Returns the maximum of all values or This operation is optional
|
Get |
Returns the minimum of all values or This operation is optional
|
Int |
Return doc value as an int. Optional: DocValues implementation can (but don't have to) override this method. |
Long |
Return doc value as a long. Optional: DocValues implementation can (but don't have to) override this method. |
Str |
Return doc value as a string. Optional: DocValues implementation can (but don't have to) override this method. |
To |
Return a string representation of a doc value, as reuired for Explanations. |