openfoodfacts / openfoodfacts-dart

Open Food Facts API Wrapper
https://pub.dev/packages/openfoodfacts
Apache License 2.0
162 stars 66 forks source link

Use the new ElasticSearch endpoint to provide search as you type product suggestions #620

Closed teolemon closed 10 months ago

teolemon commented 1 year ago

What

Part of

monsieurtanuki commented 11 months ago

@teolemon @raphael0202 We don't seem to share the same taxonomy tags, e.g. categories vs category. I don't really mind, it's just that we would need a new specific TaxonomyType class. Which kind of make sense anyway as we currently don't have a "brand" taxonomy type and Elastic Search does have one AFAIK.

monsieurtanuki commented 11 months ago

@teolemon @raphael0202 @simonj2 For the record, following are the taxonomy tags we currently use - could you provide the list of the taxonomy tags used in ElasticSearch

  1. states
  2. languages
  3. labels
  4. categories
  5. countries
  6. ingredients
  7. traces
  8. additives
  9. allergens
  10. packaging
  11. origins
  12. packaging_shapes
  13. packaging_materials
  14. packaging_recycling
  15. nova_groups
  16. emb_codes
teolemon commented 11 months ago