Highlight query in URI


I want to use highlight in URI query.
Ex. http://myservername.com:9200/myindex/_search?q=myfieldname:searchvalue&highlight=myfieldname

But this is not working.
I want to use URI search with highlight but not get any reference of it.

I don't see it supported in the documentation.

Use the body instead.


Got it, Highlight is not supported in URI.
Except highlight can we use URI based search for a complex search like bool query (must, must_not, should), filter and other conditions without passing a complete json in URI.
For example below URI


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