suaveh
(Jar Jarder)
November 7, 2016, 7:16am
1
Good day,
I am trying to search for a string that starts with the "@" symbol, but it seems that the symbol is ignored.
For example... I have the following documents with the following data:
doc1: "hello world"
doc2: "@hello world"
I want to search for "@hello ", expecting only doc2 to be returned. But right now, it returns both documents, as if I searched for "hello" only.
Is there a way I can search with the "@" symbol?
Thanks,
Eugene
dadoonet
(David Pilato)
November 7, 2016, 7:49am
2
You need to change the analyzer.
The standard analyzer is indeed removing symbols like @, . ...
suaveh
(Jar Jarder)
November 7, 2016, 8:01am
3
Thanks @dadoonet . I tried using the whitespace analyzer, and I am able to search with the "@" symbol now.
system
(system)
Closed
December 5, 2016, 8:01am
4
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.