Hi.
What you probably want is `TermsEnum.postings(PostingsEnum reuse, int
flags)`, with `PostingsEnum.POSITIONS` in the flags.
I'd also recommend using the `TermsEnum` to iterate the terms instead
of using your own loop, as working with postings works better if you
do.
TX
On Fri, 9 Jul 2021 at
Hi,
I'm porting a piece of code that uses TermPositions of Lucene 3.3 to 8.9.
https://lucene.apache.org/core/4_0_0/MIGRATE.html reads:
*
TermPositions is renamed to DocsAndPositionsEnum, and no longer extends the
docs only enumerator (DocsEnum).
But DocsAndPositionsEnum doesn't exist in
Dear concern,
I'm getting below error from my application code when trying to index data.
=
java.io.EOFException: read past EOF:
MMapIndexInput(path="/attachments/produpg/TNIndexes/8OYDBB3YXK250409/LOGS_Indexes_STAGI