Class DocValues
This class contains utility methods and constants for Doc
Inheritance
System.Object
DocValues
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class DocValues
Fields
| Improve this Doc View SourceEMPTY_BINARY
An empty Binary
Declaration
public static readonly BinaryDocValues EMPTY_BINARY
Field Value
Type | Description |
---|---|
Binary |
EMPTY_NUMERIC
An empty Numeric
Declaration
public static readonly NumericDocValues EMPTY_NUMERIC
Field Value
Type | Description |
---|---|
Numeric |
EMPTY_SORTED
An empty Sorted
Declaration
public static readonly SortedDocValues EMPTY_SORTED
Field Value
Type | Description |
---|---|
Sorted |
EMPTY_SORTED_SET
An empty Sorted
Declaration
public static readonly SortedSetDocValues EMPTY_SORTED_SET
Field Value
Type | Description |
---|---|
Sorted |
Methods
| Improve this Doc View SourceDocsWithValue(SortedDocValues, Int32)
Returns a IBits representing all documents from dv
that have a value.
Declaration
public static IBits DocsWithValue(SortedDocValues dv, int maxDoc)
Parameters
Type | Name | Description |
---|---|---|
Sorted |
dv | |
System. |
maxDoc |
Returns
Type | Description |
---|---|
IBits |
DocsWithValue(SortedSetDocValues, Int32)
Returns a IBits representing all documents from dv
that have a value.
Declaration
public static IBits DocsWithValue(SortedSetDocValues dv, int maxDoc)
Parameters
Type | Name | Description |
---|---|---|
Sorted |
dv | |
System. |
maxDoc |
Returns
Type | Description |
---|---|
IBits |
Singleton(SortedDocValues)
Returns a multi-valued view over the provided Sorted
Declaration
public static SortedSetDocValues Singleton(SortedDocValues dv)
Parameters
Type | Name | Description |
---|---|---|
Sorted |
dv |
Returns
Type | Description |
---|---|
Sorted |
UnwrapSingleton(SortedSetDocValues)
Returns a single-valued view of the Sortednull
.
Declaration
public static SortedDocValues UnwrapSingleton(SortedSetDocValues dv)
Parameters
Type | Name | Description |
---|---|---|
Sorted |
dv |
Returns
Type | Description |
---|---|
Sorted |