Search string with space


(ElasticUser) #1

In my raw message, I have apache directory text. I am using term query as below
.setQuery(termQuery("message", ""apache directory""))
But get 0 hits.
Can someone let me know the API for matching strings separated by space? Please suggest....need solution urgently. Thanks


(system) #2