On Mon, Mar 5, 2012 at 1:53 PM, Benson Margulies <[email protected]> wrote:
> There's no javadoc on here yet, and I am a little puzzled by the fact
> that it is returning null for me. Does that imply that there can't be
> any deleted docs known to the reader?
Right, see AtomicReader
/** Returns the {@link Bits} representing live (not
* deleted) docs. A set bit indicates the doc ID has not
* been deleted. If this method returns null it means
* there are no deleted documents (all documents are
* live).
*
* The returned instance has been safely published for
* use by multiple threads without additional
* synchronization.
*/
public abstract Bits getLiveDocs();
-Yonik
lucenerevolution.com - Lucene/Solr Open Source Search Conference.
Boston May 7-10
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]