<@U01PL2YSG8L> <https://g4z9t7cmykvowrnup-1.a1.typ...
# community-help
a
@Kishore Nallan https://g4z9t7cmykvowrnup-1.a1.typesense.net/multi_search?x-typesense-api-key=WcC50Q6xiobuAnmeydV47hQSRyuNyqWT
Copy code
{
  "searches": [
    {
      "q": "imo",
      "query_by": "isbn,title,author, embedding,publication",
      "prioritize_token_position": true,
      "max_facet_values": 10,
      "num_typos": "2",
      "min_len_1typo": 2,
      "split_join_tokens": "always",
      "typo_tokens_threshold": 10,
      "per_page": 24,
      "sort_by": "num_is_out_of_stack:asc",
      "pre_segmented_query": true,
      "drop_tokens_threshold": 0,
      "facet_sample_threshold": 1000,
      "facet_sample_percent": 20,
      "highlight_full_fields": "isbn,title,author, embedding,publication",
      "collection": "books_collection",
      "facet_by": "agedGroup,author,binding,bookCondition,language,price,publication",
      "page": 1
    }
  ]
}
Copy code
{
  "searches": [
    {
      "q": "IMO",
      "query_by": "isbn,title,author, embedding,publication",
      "prioritize_token_position": true,
      "max_facet_values": 10,
      "num_typos": "2",
      "min_len_1typo": 2,
      "split_join_tokens": "always",
      "typo_tokens_threshold": 10,
      "per_page": 24,
      "sort_by": "num_is_out_of_stack:asc",
      "pre_segmented_query": true,
      "drop_tokens_threshold": 0,
      "facet_sample_threshold": 1000,
      "facet_sample_percent": 20,
      "highlight_full_fields": "isbn,title,author, embedding,publication",
      "collection": "books_collection",
      "facet_by": "agedGroup,author,binding,bookCondition,language,price,publication",
      "page": 1
    }
  ]
}
The same query with just a change in the case ("imo" vs "IMO") gives completely different results. Can you please advise why this is happening?
k
You are querying on embedding: that can produce different outputs because the underlying model might be case sensitive. Try without that field?
a
ok how i can fix
k
Lowercase your query string before sending to typesense.
a
If I run the query in lowercase, will it handle all cases correctly?
k
yes
a
ok i will test