quickwit-oss / quickwit-oss/quickwit

Refactor DocMapper

Open
#1,340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

Description

The DocMapper contracts might be overly complicated and error prone.

RIght now, some of the contract are split local, while some of the contract requires to apply computation on a different schema.
We should investigate if it is possible to make the DocMapper only apply to its own schema.

It might require moving split-agnosting stuff in a different object and moving the query building site.

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

Start by tracing the DocMapper contracts and the schema boundaries they currently use, then locate the split-agnostic computation and query-building code. Done means determining and implementing whether DocMapper can operate only on its own schema, with cross-schema logic moved to a separate object if needed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.