public class FieldUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
FieldUtil.DVOrdValues |
static class |
FieldUtil.FCOrdValues |
static interface |
FieldUtil.OrdFunc
The following ord visitors and wrappers are a work in progress and experimental
|
static class |
FieldUtil.OrdValues |
Constructor and Description |
---|
FieldUtil() |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
getNumericDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
static FieldUtil.OrdValues |
getOrdValues(SortedDocValues singleDv,
DocIdSetIterator disi) |
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 SortedSetDocValues |
getSortedSetDocValues(QueryContext context,
SchemaField field,
QParser qparser) |
static boolean |
isFieldCache(SortedDocValues singleDv) |
static void |
visitOrds(SortedDocValues singleDv,
DocIdSetIterator disi,
FieldUtil.OrdFunc ordFunc) |
public static SortedDocValues getSortedDocValues(SolrIndexSearcher searcher, String field) throws IOException
IOException
public static SortedDocValues getSortedDocValues(QueryContext context, SchemaField field, QParser qparser) throws IOException
IOException
public static SortedSetDocValues getSortedSetDocValues(QueryContext context, SchemaField field, QParser qparser) throws IOException
IOException
public static NumericDocValues getNumericDocValues(QueryContext context, SchemaField field, QParser qparser) throws IOException
IOException
public static boolean isFieldCache(SortedDocValues singleDv)
public static void visitOrds(SortedDocValues singleDv, DocIdSetIterator disi, FieldUtil.OrdFunc ordFunc) throws IOException
IOException
public static FieldUtil.OrdValues getOrdValues(SortedDocValues singleDv, DocIdSetIterator disi)
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.