Aggregation failing after index schema update

オープン
#6,130 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust
領域
backend, databases

調査の方向性

非高速な test フィールドを持つインデックスを作成し、データを取り込み、高速フィールドを有効にし、さらにデータを取り込んでから、集計を実行して問題を再現します。古い split と新しい split にわたるスキーマ更新、取り込み、集計を追跡します。完了条件は、古い split を欠損データとして扱いながら集計が成功することです。

索引モデルが issue の本文から書いたものです。

説明

bug

Describe the bug
We have had an index on which we defined a text field change with fast: false , this index already has data. We could not perform aggregation queries on it. When we attempted aggregation queries on it we got this error:

{ ERROR quickwit_search::error: search internal error: search failed for the following splits:  x, y, z,  . For instance, split x failed with the following error message: internal error: `An invalid argument was passed: 'Field \"change\" is not configured as fast field'`"}

We have now updated the schema to set fast: true so we could perform aggregation even if old split will be considered as missing data. however we still the same error after changing the schema and ingesting new data.

{ ERROR quickwit_search::error: search internal error: search failed for the following splits:  x, y, z,  . For instance, split x failed with the following error message: internal error: `An invalid argument was passed: 'Field \"change\" is not configured as fast field'`"}

Steps to reproduce (if applicable)
Steps to reproduce the behavior:

  1. create an index with a field test that's is not fast-field
  2. ingest some data
  3. change the schema to make the field test fast-fields
  4. ingest more data
  5. attempt to make aggregation query on the field test
  6. You should be able to observe the reported error

Expected behaviour
We expected after the schema update, that aggregation queries on change field should work although it will not take into account old split on which fast-field was not enabled on the change field.

主要言語
Rust
スター
11.8k
フォーク
628
平均マージ
2日 22時間
マージ済み PR(30日)
50

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

quickwit-oss/quickwit のほかの issue

quickwit-oss/quickwit の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。