public class IndexLookup extends 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 . |
Constructor and Description |
---|
IndexLookup(com.google.common.collect.ImmutableMap.Builder<String,Object> builder) |
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 LeafIndexLookup getLeafIndexLookup(org.apache.lucene.index.LeafReaderContext context)
Copyright © 2009–2016. All rights reserved.