quickwit-oss / quickwit-oss/quickwit

Add a query to gets surroudnings documents

Open
#4,078 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.