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

Replace Set operations with "smart iterators" #189

Open
valencik opened this issue Mar 25, 2024 · 0 comments
Open

Replace Set operations with "smart iterators" #189

valencik opened this issue Mar 25, 2024 · 0 comments
Assignees
Labels
query Related to executing queries given an index

Comments

@valencik
Copy link
Contributor

Currently IndexSearcher works by iterating over the Query, gathering docs into a Set for each Query node, and combining those Sets.
We want to move to an iterator based approach, similar to what PositionalIter currently does, but where query nodes form nodes in a tree of iterators working together to progressively find matches.

Screenshot 2024-03-25 at 08-01-57 Indexing 14 structured query execution - YouTube
https://youtu.be/IKyhqpgyQpw?si=uXrQFK5co4oYid3K

@valencik valencik added the query Related to executing queries given an index label Mar 25, 2024
@valencik valencik self-assigned this Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
query Related to executing queries given an index
Projects
None yet
Development

No branches or pull requests

1 participant