public class LeafIndexLookup extends MinimalMap<String,IndexField>
Constructor and Description |
---|
LeafIndexLookup(org.apache.lucene.index.LeafReaderContext ctx) |
Modifier and Type | Method and Description |
---|---|
IndexField |
get(Object key) |
int |
getDocId() |
org.apache.lucene.search.IndexSearcher |
getIndexSearcher() |
org.apache.lucene.index.IndexReader |
getParentReader() |
org.apache.lucene.index.IndexReaderContext |
getReaderContext() |
int |
maxDoc() |
int |
numDeletedDocs() |
int |
numDocs() |
void |
setDocument(int docId) |
protected void |
setNextDocIdInFields() |
org.apache.lucene.index.Fields |
termVectors() |
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public LeafIndexLookup(org.apache.lucene.index.LeafReaderContext ctx)
public int numDocs()
public int maxDoc()
public int numDeletedDocs()
public void setDocument(int docId)
protected void setNextDocIdInFields()
public IndexField get(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()
Copyright © 2009–2016. All rights reserved.