Re: getting all Lucene internal IDs

2009-06-19 Thread Dmitry Lizorkin
Iterate over all ints from 0 .. IndexReader.maxDoc() (exclusive) and call IndexReader.isDeleted? Excellent, works perfect for us! Michael, thank you very much for your help! Best regards, Dmitry - To unsubscribe, e-mail: ja

Re: getting all Lucene internal IDs

2009-06-19 Thread Dmitry Lizorkin
Assuming your goal is to exclude deleted docs Yes, precisely. TermDocs td = IndexReader.termDocs(null); That looks exactly what we need! We'll be looking forward to the release of v. 2.9. In the meantime, does there exist any workaround for the current version 2.4.1 we're using? Thank

getting all Lucene internal IDs

2009-06-19 Thread Dmitry Lizorkin
Hello! What is the appropriate way to obtain Lucene internal IDs for _all_ the tuples stored in a Lucene index? Thank you for your help Dmitry - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional