Hi, everyone! I have a newbe problem :sweat_smile...
# community-help
c
Hi, everyone! I have a newbe problem 😅 when using a wildcard * in the filter_by param. I want to build an autocomplete search for city names in typesense. When I search with:
Copy code
$searchParameters = [
            "q" => "leip*",
            "query_by" => "seo_query",
            "filter_by" => "main_entry:=true"
        ];
then 65 documents are found in my index, which is great. But I want to use the filter to find cities. When I search like this:
Copy code
$searchParameters = [
            "q" => "*",
            "query_by" => "seo_query",
            "filter_by" => "seo_query:=leip* && main_entry:=true"
        ];
then there are no documents found. Why?