I use This query in my application for getting all matched content without
special characters from across fields.Here I pass
q value as run time
search text(John).Now problem is when I search for text(John-One) with
special characters it's returns 0.
QueryBuilder queryBuilderForUserSearch = QueryBuilders.boolQuery().must(QueryBuilders.fieldQuery("active",
.must(QueryBuilders.fieldQuery("_all", "" + q + ""));
q is my passing text. It's working fine when I pass only text (like
John) without special characters(like
John-one). But I should fetch
with special characters also.
Please help me. 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 firstname.lastname@example.org.
For more options, visit https://groups.google.com/groups/opt_out.