Better interface description for Storage abstraction

オープン 初心者向け
#3,872 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
65/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
rust
領域
backend

調査の方向性

quickwit-storage/src/storage.rs を開き、参照されている行にある get_slice メソッドのドキュメントを読んでください。要求された範囲がファイルサイズを超える場合に何が起きるのか、また呼び出し元がファイルサイズを事前に確認せずに事前定義された Chunk サイズを使用できるかどうかを明確にしてください。Storage trait のドキュメントでこの動作が明確に記述されれば完了です。

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

説明

documentation

My documentation idea

The current docstring for the get_slice method in the Storage trait does not specify what is expected to happen if the bounds defined by the range attribute are greater than the file size.

Rational:

Some users of the abstraction that want to avoid making the extra call to get the file size might want to call get_slice with a predefined chunk size, and it's unclear whether that's allowed for this abstraction or not.

主要言語
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 を短くまとめたダイジェスト。