meilisearch / meilisearch-java

Java client for Meilisearch
https://meilisearch.com
MIT License
183 stars 112 forks source link

Update code-samples based on docs team request (apr/23) #629

Closed brunoocasali closed 1 year ago

brunoocasali commented 1 year ago

⚠️ This issue is generated, it means the examples and the namings do not necessarily correspond to the language of this repository. Also, if you are a maintainer, feel free to add any clarification and instruction about this issue.

Sorry if this is already partially/completely implemented, feel free to let me know about the state of this issue in the repo.

Related to https://github.com/meilisearch/integration-guides/issues/258


  1. Update filtering_guide_1 to use the movie_ratings index instead of movies meilisearch/documentation#2061
  2. Update filtering_guide_2 to use the movie_ratings index instead of movies meilisearch/documentation#2061
  3. Update filtering_guide_3 to use: meilisearch/documentation#2061
    • movie_ratings index instead of movies
    • "filter": "release_date > 1577884550 AND (NOT director = \"Tim Burton\")"
  4. Update filtering_guide_nested_1 to use the movie_ratings index instead of movies meilisearch/documentation#2061
  5. Update faceted_search_update_settings_1 to use the movie_ratings index instead of movies meilisearch/documentation#2061
  6. Remove faceted_search_filter_1 meilisearch/documentation#2061
  7. Update faceted_search_2 meilisearch/documentation#2263
    • Use string syntax instead of arrays. Updated query:
      '{
      "queries": [
      {
        "indexUid": "books",
        "facets": ["language", "genres", "author", "format"],
        "filter": "(language = English AND language = French) OR genres = Fiction"
      },
      {
        "indexUid": "books",
        "facets": ["language"],
        "filter": "genres = Fiction"
      },
      {
        "indexUid": "books",
        "facets": ["genres"],
        "filter": "language = English OR language = French"
      }
      ]
      }'
  8. Update geosearch_guide_filter_usage_3 meilisearch/documentation#2216
    { "filter": "_geoBoundingBox([45.494181, 9.214024], [45.449484, 9.179175])" }'

TODO:

curquiza commented 1 year ago

Closed by #649