Re: Question about the performance of Lucene99PostingsFormat

2024-09-11 Thread Rui Wu
Thanks for your prompt reply! On Tue, Sep 10, 2024 at 1:38 PM Adrien Grand wrote: > Can you clarify what you refer to by match-all and match-many queries? > Lucene's MatchAllDocsQuery should not be impacted since it doesn't use > postings for evaluation. > match-all refers to a query that hits a

Re: Converting docid to uid

2024-09-11 Thread Marc Davenport
Hello, To close the circle on this. I found that using the docvalues for this was on the order of 10x faster for our purposes. Snippet that someone might find useful in the future: LeafReaderContext context = indexReader.leaves().get(ReaderUtil.subIndex(docId, indexReader.leaves()));