public abstract static class FieldCache.DocTerms extends Object
Constructor and Description |
---|
FieldCache.DocTerms() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
exists(int docID)
Returns true if this doc has this field and is not
deleted.
|
abstract BytesRef |
getTerm(int docID,
BytesRef ret)
The BytesRef argument must not be null; the method
returns the same BytesRef, or an empty (length=0)
BytesRef if the doc did not have this field or was
deleted.
|
abstract int |
size()
Number of documents
|
public abstract BytesRef getTerm(int docID, BytesRef ret)
public abstract boolean exists(int docID)
public abstract int size()
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.