Highlight query to return all the matched results


Is there any way through which we can specify highlight query to return all the matches?
I looked for number_of_fragments option but here I have to specify some number. I know if I put it to zero it will return me whole document. If I dont specify that option by default it returns me 5 fragments but I want the query which will return all the available fragments that can be more than 5 as well.

I don't think there's a way to say "give me all fragments, whatever that number is", you'll just have to set a very large number so that all available fragments are returned. Kinda kludgy, sorry :disappointed:

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