Request for API Endpoint to Update Specific Products in Algolia Search Index
評価
調査の方向性
まず、Python クライアントに既存する update_records API と、issue に記載されているインデックス作成の動作を確認します。コレクション駆動の更新で特定の商品 ID をどのように選択してバッチ化するかを定義し、次に 1,000 商品のシナリオで動作を検証して、完成したエンドポイントの契約を文書化します。
索引モデルが issue の本文から書いたものです。
説明
- Algolia Client Version: 3.0.0
- Language Version: 3.9
Description
As of now, I have approximately 2500 instances that require periodic updates in my Algolia search index. The updates are triggered whenever any collection of products is modified. These collections can vary in size, which leads to the following challenges:
Impracticality of Indexing All Products: It is not practical for me to index all individual products within a collection due to the potentially large number of products. Indexing each product individually would result in an excessive number of API requests, increasing the time and resources required.
Time-Consuming Indexing Process: Currently, indexing around 2500 products one by one is a time-consuming process. Each index operation necessitates an API call, and this accumulates to a significant amount of time and effort.
Given these challenges, I am looking for a solution that would allow me to update specific products within the index efficiently. I believe having an API endpoint that supports batch updates for specific products, possibly by providing a list of product IDs or another means of specifying which products to update, would greatly streamline the process.
The API has update_records for partially updating objects, but they are only practical to use when certain fields in the query set have changed. So this cannot be used in this context as well.
This functionality would not only save time and resources but also enhance the overall user experience, particularly for scenarios where only a subset of products within a collection needs updating.
I kindly request your support and consideration in implementing such an API endpoint. If this feature or a similar solution is already available or under consideration, please provide me with guidance on how I can make the best use of it.
Steps To Reproduce
- Have an index in algolia with 6k products
- A collection is updated -- changed the collection name
- 1k products now have different collection names
- Index 1k products in Algolia => One by-indexing is time-consuming. indexing 1k products one by one is not practical and overkill.
- 主要言語
- Python
- スター
- 207
- フォーク
- 63
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
algolia/algoliasearch-client-python のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
Version 4.31.0 introduced breaking urllib3 dependency constraint incompatible with other packagesオープン
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
KeyError: 'facets'オープン
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
algolia/algoliasearch-client-python#565 · コメント 1 件 · リアクション 2 件 ·
algolia/algoliasearch-client-python の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
volcengine/OpenViking#8432 ·
メンテナーはふだん 1 日以内に返信
-
Failed chat turns are passed to the follow-up rewrite as completed history対応中かも @hskhyl が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
NVIDIA/auto-ontology#683 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation task
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Implement parse_url and accept http URLs for Pear backend対応中かも @muskan-creates352 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
fedora-infra/anitya#2231 ·
メンテナーはふだん 2 日以内に返信
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
docling-project/docling-core#1067 ·
メンテナーはふだん 3 日以内に返信