Request for API Endpoint to Update Specific Products in Algolia Search Index
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 30/100
Línea de trabajo
Comienza revisando la API update_records existente del cliente de Python y el comportamiento de indexación descrito en el issue. Define cómo se seleccionarían y agruparían en lotes IDs de productos específicos para actualizaciones basadas en colecciones; después, verifica el comportamiento con el escenario de 1.000 productos y documenta el contrato final del endpoint.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- 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.
- Lenguaje dominante
- Python
- Estrellas
- 207
- Forks
- 63
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de algolia/algoliasearch-client-python
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
-
Version 4.31.0 introduced breaking urllib3 dependency constraint incompatible with other packagesAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
KeyError: 'facets'Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
algolia/algoliasearch-client-python#565 · 1 comentario · 2 reacciones ·
Todos los issues de algolia/algoliasearch-client-python
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
volcengine/OpenViking#8432 ·
Los mantenedores suelen responder en 1 día
-
Failed chat turns are passed to the follow-up rewrite as completed historyPosiblemente ocupada @hskhyl la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/auto-ontology#683 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
documentation task
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
-
Implement parse_url and accept http URLs for Pear backendPosiblemente ocupada @muskan-creates352 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
fedora-infra/anitya#2231 ·
Los mantenedores suelen responder en 2 días
-
MarkdownDocSerializer.post_process escapes '\<' to '\<', rendering literal '<' in CommonMarkAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
docling-project/docling-core#1067 ·
Los mantenedores suelen responder en 3 días