Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fail when AndIterator drops IndexOnly term #2081

Merged
merged 16 commits into from
Aug 9, 2024

Conversation

apmoriarty
Copy link
Collaborator

Addressed two different bugs in the AndIterator

  • dropping an index-only term from an intersection will now appropriately fail the query
  • documents are now built using the contextIncludes iterators when context is necessary

As a note: several additional defects were discovered by testing with random inputs. These unit tests in the AndOrIteratorIT are disabled and a fix for those will be coming later.

Copy link
Collaborator

@FineAndDandy FineAndDandy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

really exceptional job with all the tests

@apmoriarty apmoriarty mentioned this pull request Oct 26, 2023
4 tasks
@apmoriarty apmoriarty force-pushed the bugfix/and-iterator-drop-index-only-term branch from d5dd944 to 2ff49a8 Compare July 22, 2024 15:22
avgAGB
avgAGB previously approved these changes Aug 1, 2024
alerman
alerman previously approved these changes Aug 2, 2024
hlgp
hlgp previously approved these changes Aug 2, 2024
ivakegg
ivakegg previously approved these changes Aug 5, 2024
@apmoriarty apmoriarty dismissed stale reviews from ivakegg, hlgp, alerman, and avgAGB via c30922c August 7, 2024 17:14
@apmoriarty apmoriarty merged commit 2f76718 into integration Aug 9, 2024
4 checks passed
@apmoriarty apmoriarty deleted the bugfix/and-iterator-drop-index-only-term branch August 9, 2024 15:56
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.

7 participants