public class PerThreadPKLookup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int[] |
docBases |
protected boolean |
hasDeletions |
protected Bits[] |
liveDocs |
protected int |
numSegs |
protected PostingsEnum[] |
postingsEnums |
protected TermsEnum[] |
termsEnums |
Constructor and Description |
---|
PerThreadPKLookup(IndexReader r,
java.lang.String idFieldName) |
Modifier and Type | Method and Description |
---|---|
int |
lookup(BytesRef id)
Returns docID if found, else -1.
|
protected final TermsEnum[] termsEnums
protected final PostingsEnum[] postingsEnums
protected final Bits[] liveDocs
protected final int[] docBases
protected final int numSegs
protected final boolean hasDeletions
public PerThreadPKLookup(IndexReader r, java.lang.String idFieldName) throws java.io.IOException
java.io.IOException
public int lookup(BytesRef id) throws java.io.IOException
java.io.IOException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.