Skip to content

Implement the new Search-A-Licious ElasticSearch search endpoint #833

@teolemon

Description

@teolemon

Why - Problem description

  • As part of the search revamp project, we will be deploying a new Elasticsearch endpoint at https://search.openfoodfacts.org/docs#/
  • It will be OpenAPI compatible so we can generate a base Flutter SDK automatically that we can draw from here.
  • We will also be upgrading the classic product-opener search to use this backend in the background (with an unchanged API vs what we've already implemented), so we should not deprecate immediately classic search.
  • We should also implement direct calls to the Elasticsearch endpoint. This will pave the way for a fuller search implementation in Smoothie.

URL of the doc

https://search.openfoodfacts.org/docs#/

Routes

  • /document/{identifier}
  • /autocomplete

Schemas

  • ErrorSearchResponseExpand allobject
  • HTTPValidationErrorExpand allobject
  • SearchResponseDebugExpand allobject
  • SearchResponseErrorExpand allobject
  • SuccessSearchResponseExpand allobject
  • ValidationErrorExpand allobject

Sub-issues already opened

Related issue in the official mobile app

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Todo

    Status

    To do

    Status

    Backlog (ready for dev)

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions