public abstract class FieldDataTermsFilter
extends org.apache.lucene.search.Filter
TermsFilter
but pulls terms from the fielddata.Modifier and Type | Class and Description |
---|---|
protected static class |
FieldDataTermsFilter.BytesFieldDataFilter
Filters on non-numeric fields.
|
protected static class |
FieldDataTermsFilter.DoublesFieldDataFilter
Filters on floating point numeric fields.
|
protected static class |
FieldDataTermsFilter.LongsFieldDataFilter
Filters on non-floating point numeric fields.
|
Modifier | Constructor and Description |
---|---|
protected |
FieldDataTermsFilter(IndexFieldData fieldData) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
static FieldDataTermsFilter |
newBytes(IndexFieldData fieldData,
com.carrotsearch.hppc.ObjectOpenHashSet<org.apache.lucene.util.BytesRef> terms)
Get a
FieldDataTermsFilter that filters on non-numeric terms found in a hppc ObjectOpenHashSet of
BytesRef . |
static FieldDataTermsFilter |
newDoubles(IndexNumericFieldData fieldData,
com.carrotsearch.hppc.DoubleOpenHashSet terms)
Get a
FieldDataTermsFilter that filters on floating point numeric terms found in a hppc
DoubleOpenHashSet . |
static FieldDataTermsFilter |
newLongs(IndexNumericFieldData fieldData,
com.carrotsearch.hppc.LongOpenHashSet terms)
Get a
FieldDataTermsFilter that filters on non-floating point numeric terms found in a hppc
LongOpenHashSet . |
abstract String |
toString() |
protected FieldDataTermsFilter(IndexFieldData fieldData)
public static FieldDataTermsFilter newBytes(IndexFieldData fieldData, com.carrotsearch.hppc.ObjectOpenHashSet<org.apache.lucene.util.BytesRef> terms)
FieldDataTermsFilter
that filters on non-numeric terms found in a hppc ObjectOpenHashSet
of
BytesRef
.fieldData
- The fielddata for the field.terms
- An ObjectOpenHashSet
of terms.public static FieldDataTermsFilter newLongs(IndexNumericFieldData fieldData, com.carrotsearch.hppc.LongOpenHashSet terms)
FieldDataTermsFilter
that filters on non-floating point numeric terms found in a hppc
LongOpenHashSet
.fieldData
- The fielddata for the field.terms
- A LongOpenHashSet
of terms.public static FieldDataTermsFilter newDoubles(IndexNumericFieldData fieldData, com.carrotsearch.hppc.DoubleOpenHashSet terms)
FieldDataTermsFilter
that filters on floating point numeric terms found in a hppc
DoubleOpenHashSet
.fieldData
- The fielddata for the field.terms
- A DoubleOpenHashSet
of terms.Copyright © 2009–2015. All rights reserved.