This document serves as a technical proposal for a new search API - V3 ([[Open Food Facts Search API Version 2|see V2 here]]).
This document serves as a technical proposal for a new search API - V3 ([[Open Food Facts Search API Version 2|see V2 here]]).
+
+
+
'''IMPORTANT:''' our goal have shifted a bit on this project. See [https://docs.google.com/document/d/1mibE8nACcmen6paSrqT9JQk5VbuvlFUXI1S93yHCK2I/edit Search-a-licious roadmap architecture notes]
=== Goals ===
=== Goals ===
Line 154:
Line 157:
== Work Plan ==
== Work Plan ==
−
* Completed (locally):
+
* Completed
** Product document definition
** Product document definition
** Bulk import script
** Bulk import script
** API definition
** API definition
−
** API implementation (partly implemented)
+
** API implementation
** Docker, Elasticvue configuration
** Docker, Elasticvue configuration
+
** API tests
+
** Redis Integration
* TODO:
* TODO:
−
** Proposal alignment
+
** Deploy (without any traffic)
−
** OFF-search repo creation, initial commit
−
** Finish API implementation, unit tests
−
** Redis reader
−
** Deploy (without any traffic) - will need assistance for this, as well as Nginx configuration
** Redis writer on the Perl side
** Redis writer on the Perl side
** Final testing
** Final testing
Line 178:
Line 179:
* Robotoff could use the same cluster
* Robotoff could use the same cluster
* Current search APIs could be switched over (with a translation layer)
* Current search APIs could be switched over (with a translation layer)