quickwit-oss / quickwit-oss/quickwit

Plug the lenient grammar to Quickwit

Open
#3,731 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

After writing integration test, I realized lenient in ES is different from lenient in the Lucene query parser.

In lenient mode, ES will still return an error if the query syntax is wrong. It will however ignore queries where the
field type do not match.

The lenient parser thing is implemented in the simple_query_string query.
We should implement it. (this is however low priority).

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 locating the simple_query_string query implementation and the integration test referenced in the issue. Read how parsing and field-type mismatches are handled; done means syntax errors still return errors while queries whose field types do not match are ignored in lenient mode.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.