public class IndexLookup extends MinimalMap<String ,IndexField >
| Modifier and Type | Field and Description |
|---|---|
static int |
FLAG_CACHE
Flag to pass to
IndexField#get(String, flags) if you require positions in the returned
IndexFieldTerm.
|
static int |
FLAG_FREQUENCIES
Flag to pass to
IndexField#get(String, flags) if you require frequencies in the returned
IndexFieldTerm.
|
static int |
FLAG_OFFSETS
Flag to pass to
IndexField#get(String, flags) if you require offsets in the returned
IndexFieldTerm.
|
static int |
FLAG_PAYLOADS
Flag to pass to
IndexField#get(String, flags) if you require payloads in the returned
IndexFieldTerm.
|
static int |
FLAG_POSITIONS
Flag to pass to
IndexField#get(String, flags) if you require positions in the returned
IndexFieldTerm.
|
| Constructor and Description |
|---|
IndexLookup(<any> builder)
|
| Modifier and Type | Method and Description |
|---|---|
IndexField |
get(Object
|
int |
getDocId()
|
org |
getIndexSearcher()
|
org |
getParentReader()
|
org |
getReaderContext()
|
int |
maxDoc()
|
int |
numDeletedDocs()
|
int |
numDocs()
|
void |
setNextDocId(int docId)
|
protected void |
setNextDocIdInFields()
|
void |
setNextReader(org
|
protected void |
setReaderInFields()
|
org |
termVectors()
|
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final int FLAG_OFFSETS
IndexField#get(String, flags) if you require offsets in the returned
IndexFieldTerm.
public static final int FLAG_PAYLOADS
IndexField#get(String, flags) if you require payloads in the returned
IndexFieldTerm.
public static final int FLAG_FREQUENCIES
IndexField#get(String, flags) 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(String, flags) if you require positions in the returned
IndexFieldTerm.
public static final int FLAG_CACHE
IndexField#get(String, flags) if you require positions in the returned
IndexFieldTerm.
public int numDocs()
public int maxDoc()
public int numDeletedDocs()
public void setNextReader(org.apache .lucene .index .AtomicReaderContext context)
protected void setReaderInFields()
public void setNextDocId(int docId)
protected void setNextDocIdInFields()
public IndexFieldget(Object key)
public org.apache .lucene .index .Fields termVectors() throws IOException
IOException
public int getDocId()
public org.apache .lucene .index .IndexReader getParentReader()
public org.apache .lucene .search .IndexSearcher getIndexSearcher()
public org.apache .lucene .index .IndexReaderContext getReaderContext()