public class PerThreadPKLookup extends 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,
String idFieldName) |
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, String idFieldName) throws IOException
IOException
public int lookup(BytesRef id) throws IOException
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.