Skip to content

Conversation

@gf2121
Copy link
Contributor

@gf2121 gf2121 commented May 21, 2025

The docIdRunEnd implementation of postings (introduced in #14390) missed in Lucene103PostingsReader.

Thanks @bugmakerrrrrr for finding this and reminding me!

This implements `BlockPostingsEnum#docIDRunEnd()` by comparing the delta
between doc IDs and between doc counts on the various skip levels.
@github-actions
Copy link
Contributor

This PR does not have an entry in lucene/CHANGES.txt. Consider adding one. If the PR doesn't need a changelog entry, then add the skip-changelog-check label to it and you will stop receiving this reminder on future updates to the PR.

@gf2121
Copy link
Contributor Author

gf2121 commented May 21, 2025

Test failure is unrelated, i raised #14694.

@gf2121 gf2121 merged commit 06afbe7 into apache:main May 26, 2025
4 of 7 checks passed
asf-gitbox-commits pushed a commit that referenced this pull request May 26, 2025
This implements `BlockPostingsEnum#docIDRunEnd()` by comparing the delta
between doc IDs and between doc counts on the various skip levels.

Co-authored-by: Adrien Grand <[email protected]>
weizijun added a commit to weizijun/lucene that referenced this pull request May 27, 2025
* main: (32 commits)
  update os.makedirs with pathlib mkdir (apache#14710)
  Optimize AbstractKnnVectorQuery#createBitSet with intoBitset (apache#14674)
  Implement #docIDRunEnd() on PostingsEnum. (apache#14693)
  Speed up TermQuery (apache#14709)
  Refactor main top-n bulk scorers to evaluate hits in a more term-at-a-time fashion. (apache#14701)
  Fix WindowsFS test failure seen on Policeman Jenkins (apache#14706)
  Use a temporary repository location to download certain ecj versions ("drops") (apache#14703)
  Add assumption to ignore occasional test failures due to disconnected graphs (apache#14696)
  Return MatchNoDocsQuery when IndexOrDocValuesQuery::rewrite does not match (apache#14700)
  Minor access modifier adjustment to a couple of lucene90 backward compat types (apache#14695)
  Speed up exhaustive evaluation. (apache#14679)
  Specify and test that IOContext is immutable (apache#14686)
  deps(java): bump org.gradle.toolchains.foojay-resolver-convention (apache#14691)
  deps(java): bump org.eclipse.jgit:org.eclipse.jgit (apache#14692)
  Clean up how the test framework creates asserting scorables. (apache#14452)
  Make competitive iterators more robust. (apache#14532)
  Remove DISIDocIdStream. (apache#14550)
  Implement AssertingPostingsEnum#intoBitSet. (apache#14675)
  Fix patience knn queries to work with seeded knn queries (apache#14688)
  Added toString() method to BytesRefBuilder (apache#14676)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants