public class FieldUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
FIXED_BIT_SET_NO_MORE_DOCS |
| Constructor and Description |
|---|
FieldUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Bits |
getDocsWithField(SchemaField sf,
AtomicReaderContext segmentContext) |
static NumericDocValues |
getNumericDocValues(SchemaField sf,
AtomicReaderContext segmentContext) |
static SortedDocValues |
getSortedDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
static SortedDocValues |
getSortedDocValues(SolrIndexSearcher searcher,
String field)
Simpler method that creates a request context and looks up the field for you
|
static SortedDocValues |
getSortedDocValuesSegment(QueryContext context,
SchemaField field,
AtomicReaderContext segmentContext) |
static SortedDocValues |
getSortedDocValuesSegment(SchemaField sf,
SortedDocValues top,
AtomicReaderContext segmentContext) |
static SortedSetDocValues |
getSortedSetDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
public static SortedDocValues getSortedDocValues(SolrIndexSearcher searcher, String field) throws IOException
IOExceptionpublic static SortedDocValues getSortedDocValues(QueryContext context, SchemaField field, QParser qparser) throws IOException
IOExceptionpublic static SortedSetDocValues getSortedSetDocValues(QueryContext context, SchemaField field, QParser qparser) throws IOException
IOExceptionpublic static SortedDocValues getSortedDocValuesSegment(QueryContext context, SchemaField field, AtomicReaderContext segmentContext) throws IOException
IOExceptionpublic static SortedDocValues getSortedDocValuesSegment(SchemaField sf, SortedDocValues top, AtomicReaderContext segmentContext) throws IOException
IOExceptionpublic static NumericDocValues getNumericDocValues(SchemaField sf, AtomicReaderContext segmentContext) throws IOException
IOExceptionpublic static Bits getDocsWithField(SchemaField sf, AtomicReaderContext segmentContext) throws IOException
IOExceptionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.