Difference between revisions of "Server-side product indexing and search"

From Open Food Facts wiki
Jump to navigation Jump to search
(Open Food Facts Search API Version 2)
Line 16: Line 16:
 
1 The app uses the user preferences stored locally to personalize the search results
 
1 The app uses the user preferences stored locally to personalize the search results
  
== Functional specs ==
+
== Research and specifications ==
  
[[Server-side product indexing and search - Functional Specs]]
+
At the start of the project, we evaluated the different options for server-side product indexing and search:
  
== Technical specs ==
+
* [[Server-side product indexing and search - Functional Specs]]
 +
* [[Server-side product indexing and search - Technical Specs]]
  
[[Server-side product indexing and search - Technical Specs]]
+
== New Search API ==
  
== Implementation ==
+
The existing Open Food Facts search API is outdated and hacky (it was built on top of the OFF web site search form and is unnecessarily convoluted) and does not support some of the requirements for the Personal Search project (in particular being able to retrieve a given set of products using their barcodes).
 +
 
 +
We are thus creating a new [[Open Food Facts Search API Version 2]] that will be simpler but also more powerful.
  
 
[[Category:Project:Personalized_Search]]
 
[[Category:Project:Personalized_Search]]
 
[[Category:ProductOpener]]
 
[[Category:ProductOpener]]

Revision as of 11:39, 26 August 2020

Summary

Server-side product similarity indexing and search is the 2nd of the 4 sub-tasks of the Project:Personalized_Search funded by the NGI0 Discovery Fund managed by NlNet.

This page documents the progress made in Q2 2020.

Overview

Open-food-facts-personalized-search-project-overview.png

Diagram source: https://vecta.io/app/edit/-M2XyVv8ZoaLNrW-zQoT


1 The Open Food Facts mobile app (and 3rd party apps) make generic search requests that do not contain user preferences 1 The server returns a big number of generic results 1 The app uses the user preferences stored locally to personalize the search results

Research and specifications

At the start of the project, we evaluated the different options for server-side product indexing and search:

New Search API

The existing Open Food Facts search API is outdated and hacky (it was built on top of the OFF web site search form and is unnecessarily convoluted) and does not support some of the requirements for the Personal Search project (in particular being able to retrieve a given set of products using their barcodes).

We are thus creating a new Open Food Facts Search API Version 2 that will be simpler but also more powerful.