Symbol Sensitivity in App Search

Hi Elastic,

I want to ask is there any symbol sensitivity when do searching for App Search?

I notice that whenever user want to search something with this " quotation symbol, the quotation represent inch in my case, the filtered results seems to pull everything.

For example,

I want to search 'bull nose 1.90', as from the picture below, its already filter to me the exact 1 value only with all the keywords :

Screenshot 2023-07-13 at 9.07.08 AM

However, when I add " quotation mark as in inch, because the value results do have the quotation mark, the results became 739 results.
Screenshot 2023-07-13 at 9.07.15 AM

Is it because " mark is sensitive like a wildcard?

I assume as its represent the empty term?

Thank you.

Hi Siti, this is expected behaviour from search for two reasons.

  1. Lucene treats quotes specially to search for phrase queries. Even though you're only using one double quotation mark, Lucene will still treat the character specially. This probably is why it's making the search results different.
  2. As far as I understand, based on the way we tokenize documents, punctuation is not usually searchable anyway (unless you are already using a different tokenizer). You can read more about tokenization here.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.