public class SortedNumericSelector extends Object
This provides a NumericDocValues view over the SortedNumeric, for use with sorting, expressions, function queries, etc.
Modifier and Type | Class and Description |
---|---|
static class |
SortedNumericSelector.Type
Type of selection to perform.
|
Constructor and Description |
---|
SortedNumericSelector() |
Modifier and Type | Method and Description |
---|---|
static NumericDocValues |
wrap(SortedNumericDocValues sortedNumeric,
SortedNumericSelector.Type selector,
SortField.Type numericType)
Wraps a multi-valued SortedNumericDocValues as a single-valued view, using the specified selector
and numericType.
|
public static NumericDocValues wrap(SortedNumericDocValues sortedNumeric, SortedNumericSelector.Type selector, SortField.Type numericType)
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.