public class IndexLookup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_CACHE
Flag to pass to
IndexField.get(Object, int) if you require
positions in the returned IndexFieldTerm . |
static int |
FLAG_FREQUENCIES
Flag to pass to
IndexField.get(Object, int) if you require
frequencies in the returned IndexFieldTerm . |
static int |
FLAG_OFFSETS
Flag to pass to
IndexField.get(Object, int) if you require
offsets in the returned IndexFieldTerm . |
static int |
FLAG_PAYLOADS
Flag to pass to
IndexField.get(Object, int) if you require
payloads in the returned IndexFieldTerm . |
static int |
FLAG_POSITIONS
Flag to pass to
IndexField.get(Object, int) if you require
positions in the returned IndexFieldTerm . |
static java.util.Map<java.lang.String,java.lang.Object> |
NAMES |
Constructor and Description |
---|
IndexLookup() |
Modifier and Type | Method and Description |
---|---|
static LeafIndexLookup |
getLeafIndexLookup(org.apache.lucene.index.LeafReaderContext context) |
public static final java.util.Map<java.lang.String,java.lang.Object> NAMES
public static final int FLAG_OFFSETS
IndexField.get(Object, int)
if you require
offsets in the returned IndexFieldTerm
.public static final int FLAG_PAYLOADS
IndexField.get(Object, int)
if you require
payloads in the returned IndexFieldTerm
.public static final int FLAG_FREQUENCIES
IndexField.get(Object, int)
if you require
frequencies in the returned IndexFieldTerm
. Frequencies might be
returned anyway for some lucene codecs even if this flag is no set.public static final int FLAG_POSITIONS
IndexField.get(Object, int)
if you require
positions in the returned IndexFieldTerm
.public static final int FLAG_CACHE
IndexField.get(Object, int)
if you require
positions in the returned IndexFieldTerm
.public static LeafIndexLookup getLeafIndexLookup(org.apache.lucene.index.LeafReaderContext context)