jpountz opened a new pull request, #14716:
URL: https://github.com/apache/lucene/pull/14716

   When impacts were introduced, I tried to avoid touching `PostingsEnum`, 
which had a relatively stable API while impacts were rather experimental. 
Impacts have been quite successful, so I think it's now time to make things 
simpler by adding support to impacts directly into `PostingsEnum`?
   
   More specifically:
    - `PostingsEnum` now has `advanceShallow` and `getImpacts` methods.
    - You can request impacts on a `PostingsEnum` by using the `IMPACTS` flag.
    - When the `IMPACTS` flag is not set, `PostingsEnum` may return dummy 
impacts (as for term frequencies when not requested).
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to