Method GetLiveDocs
GetLiveDocs(IndexReader)
Returns a single IBits instance for this
reader, merging live Documents on the
fly. This method will return null
if the reader
has no deletions.
NOTE: this is a very slow way to access live docs. For example, each IBits access will require a binary search. It's better to get the sub-readers and iterate through them yourself.
Declaration
public static IBits GetLiveDocs(IndexReader reader)
Parameters
Type | Name | Description |
---|---|---|
IndexReader | reader |
Returns
Type | Description |
---|---|
IBits |