Highlight query in URI

Hi,

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.

Hi,

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

https://www.elastic.co/search?q=filter&size=n_20_n&filters%5B0%5D%5Bfield%5D=website_area&filters%5B0%5D%5Bvalues%5D%5B0%5D=blog&filters%5B0%5D%5Btype%5D=all&sort-field=published_at&sort-direction=desc

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