Hi everybody good afternoon, Please help me to come out of this problem. I
spent so much time to resolve this issue but I am not able to succeed.
I have two users in my db collection and those names are
'john' and 'john-son' , now I am trying to select all records which are
matching with my search text among all fields of db collection. For example
my search text is ' john' then my query is by using elasticsearch java api
QueryBuilder queryBuilderForUserSearch = QueryBuilders.fieldQuery("_all",
"" + q + "");
It's working fine. But when I am trying to search with special
character text like 'john-son' by this time it it returns zero records.
Can anybody please help me why it's happens and please provide the query
for select text with special characters also. I am really thankful to
Thanks in advance.
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d40fd5c8-ffa5-4fe5-ba99-dc6988fe6559%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.