Class MultiDocValues
A wrapper for CompositeReader providing access to DocValues.
NOTE: for multi readers, you'll get better performance by gathering the sub readers using Context to get the atomic leaves and then operate per-AtomicReader, instead of using this class. NOTE: this is very costly.Note
This API is experimental and might change in incompatible ways in the next release.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public static class MultiDocValues
Methods
GetBinaryValues(IndexReader, string)
Returns a BinaryDocValues for a reader's docvalues (potentially merging on-the-fly)
This is a slow way to access binary values. Instead, access them per-segment with GetBinaryDocValues(string)
Declaration
public static BinaryDocValues GetBinaryValues(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
BinaryDocValues |
GetDocsWithField(IndexReader, string)
Returns a IBits for a reader's docsWithField (potentially merging on-the-fly)
This is a slow way to access this bitset. Instead, access them per-segment with GetDocsWithField(string)
Declaration
public static IBits GetDocsWithField(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
IBits |
GetNormValues(IndexReader, string)
Returns a NumericDocValues for a reader's norms (potentially merging on-the-fly).
This is a slow way to access normalization values. Instead, access them per-segment with GetNormValues(string)
Declaration
public static NumericDocValues GetNormValues(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
NumericDocValues |
GetNumericValues(IndexReader, string)
Returns a NumericDocValues for a reader's docvalues (potentially merging on-the-fly)
This is a slow way to access numeric values. Instead, access them per-segment with GetNumericDocValues(string)
Declaration
public static NumericDocValues GetNumericValues(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
NumericDocValues |
GetSortedSetValues(IndexReader, string)
Returns a SortedSetDocValues for a reader's docvalues (potentially doing extremely slow things).
This is an extremely slow way to access sorted values. Instead, access them per-segment with GetSortedSetDocValues(string)
Declaration
public static SortedSetDocValues GetSortedSetValues(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
SortedSetDocValues |
GetSortedValues(IndexReader, string)
Returns a SortedDocValues for a reader's docvalues (potentially doing extremely slow things).
this is an extremely slow way to access sorted values. Instead, access them per-segment with GetSortedDocValues(string)
Declaration
public static SortedDocValues GetSortedValues(IndexReader r, string field)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | r | |
string | field |
Returns
Type | Description |
---|---|
SortedDocValues |