Sorry <@U01V0MWR0DU>, I have to ask another questi...
# community-help
c
Sorry @Harpreet Sangar, I have to ask another question related to the same query and same sampledataset. 🫤 When I search with q parameter and wildcard, I get 65 documents found (as expected, 64:'leipzig*' and 1:'leipheim'):
Copy code
curl '<http://localhost:8108/multi_search?query_by=seo_query>' -X POST -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -d '
{
  "searches": [
    {
      "collection": "geodb",
      "q": "leip*",
      "filter_by": "main_entry:=true",
      "sort_by": "label:asc"
    }
  ]
}'
But when I use the wildcard in the filter, I only get 64 results ('leipheim' is missing):
Copy code
curl '<http://localhost:8108/multi_search>' -X POST -H "X-TYPESENSE-API-KEY: ${TYPESENSE_API_KEY}" -d '
{
  "searches": [
    {
      "collection": "geodb",
      "q": "*",
      "filter_by": "seo_query: leip* &&  main_entry:=true",
      "sort_by": "label:asc"
    }
  ]
}'
Can you help me to understand the difference?