Error In Docs Regarding number_of_fragments

FYI...

I saw this in the docs:

"If the number_of_fragments value is set to 0 then no fragments are
produced, instead the whole content of the field is returned, and of
course it is highlighted."

This did not work for me. It returned no highlights. Through trial
and error, I discovered that setting number_of_fragments to -1 does
exhibit this behavior.

Hi,

interesting, do you think you can provide recreation script for this? I am
using value 0 and it works as expected, also I can see that there are some
tests in ES using value 0 as well.

Regards,
Lukas

On Tue, Apr 19, 2011 at 7:20 PM, Tim Scott tscott@lunaversesoftware.comwrote:

FYI...

I saw this in the docs:

"If the number_of_fragments value is set to 0 then no fragments are
produced, instead the whole content of the field is returned, and of
course it is highlighted."

This did not work for me. It returned no highlights. Through trial
and error, I discovered that setting number_of_fragments to -1 does
exhibit this behavior.