quickwit-oss / quickwit-oss/quickwit
Add a query to gets surroudnings documents
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 11.7k
- Forks
- 597
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 37
Description
Right now a user can get the docs surrounding a line by using the search_after feature, and performing 2 queries.
(One top K DESC and one top K ASC on typestamp, filtered on the targeted scope (usually the server)
It would be much faster if we made it possible to run both in the same query. That's what collector are for :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Start by tracing the Rust implementation of search_after and the collector/query path, then compare the existing two-query behavior; done means one query can retrieve surrounding documents within the targeted scope with equivalent timestamp ordering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- search
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100