[Help] How to access document metadata?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 25/100
調査の方向性
この issue では、エントリポイント abc import、その transform 関数、Elasticsearch の _bulk リクエストが挙げられています。まず、これらのパスがドキュメントメタデータをどのように構築するかを追跡します。完了条件は、transform が routing などのメタデータを読み取り、設定できるかどうかを確認し、その後、parent/child import によって関連ドキュメントが正しく配置されることを検証することです。
索引モデルが issue の本文から書いたものです。
説明
I was able to setup import from postgress via abc import to ElasticSearch 7.7.
I would like to configure parent / child relationship so that I can use join queries. For this to work, http requests to Elastic must contain routing argument (requests with parent/child relationship without routing fails). This argument should contain a string that is always the same for all documents in a relation so that these documents can be stored in the same shard.
abc import does imports by sending _bulk requests to elastic. The first part of the _bulk item contains document metadata (_id, _type, ...) and the second part contains the actual document. Elastic alternatively accepts routing property in document metadata. What I haven't found is how can I access document metadata in transform function.
The transform function allows you to modify a document. Can I somehow access the document metadata and change it during import?
- 主要言語
- Go
- スター
- 471
- フォーク
- 47
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
appbaseio/abc のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 15/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
siyuan-note/siyuan#20353 ·
メンテナーはふだん 1 日以内に返信
-
attributes-natural-language "en-US" is rejected by PAPPL >= 1.4.12 printers (RFC 8011 requires lowercase)対応中かも @ChrisEdgington が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
OpenPrinting/ipp-usb#140 ·
-
Discriminator mapping keys are listed in a random order対応中かも @reuvenharrison が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
Idle compaction monitors LIST the replica every tick when the newest destination file spans more than one TXID対応中かも @pishuv が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
benbjohnson/litestream#1563 ·
メンテナーはふだん 2 日以内に返信
-
triage needed
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 2 日以内に返信