Very excessive highlight fragments

The opposite of my other problem - sometimes when I ask for highlighting
back from ElasticSearch, the highlight excerpt is much, much larger than my
requested fragment size. In one case, I got a highlight excerpt of over
34,000 characters, when my requested fragment size was only 200.

Any ideas of how I can combat this?

-- Eric

Hi,

was it a single valued field of multi valued field? Any chance you can
provide recreation script for this?

Lukas

On Tue, Jun 14, 2011 at 8:59 PM, Eric Mill kprojection@gmail.com wrote:

The opposite of my other problem - sometimes when I ask for highlighting
back from Elasticsearch, the highlight excerpt is much, much larger than my
requested fragment size. In one case, I got a highlight excerpt of over
34,000 characters, when my requested fragment size was only 200.

Any ideas of how I can combat this?

-- Eric

The field is a single value field, just one big string. Not sure what you
mean by recreation script - but I can try to provide more details if needed.
I haven't exposed the Elasticsearch port publicly yet, but I could possibly
do that if it helped with debugging.

-- Eric

On Tue, Jun 14, 2011 at 3:54 PM, Lukáš Vlček lukas.vlcek@gmail.com wrote:

Hi,

was it a single valued field of multi valued field? Any chance you can
provide recreation script for this?

Lukas

On Tue, Jun 14, 2011 at 8:59 PM, Eric Mill kprojection@gmail.com wrote:

The opposite of my other problem - sometimes when I ask for highlighting
back from Elasticsearch, the highlight excerpt is much, much larger than my
requested fragment size. In one case, I got a highlight excerpt of over
34,000 characters, when my requested fragment size was only 200.

Any ideas of how I can combat this?

-- Eric

Recreation script is a sequence of curl commands that can be used by others
to get the same issue. Check Elasticsearch Platform — Find real-time answers at scale | Elastic for more
info and examples about recreation script.

On Tue, Jun 14, 2011 at 10:17 PM, Eric Mill kprojection@gmail.com wrote:

The field is a single value field, just one big string. Not sure what you
mean by recreation script - but I can try to provide more details if needed.
I haven't exposed the Elasticsearch port publicly yet, but I could possibly
do that if it helped with debugging.

-- Eric

On Tue, Jun 14, 2011 at 3:54 PM, Lukáš Vlček lukas.vlcek@gmail.comwrote:

Hi,

was it a single valued field of multi valued field? Any chance you can
provide recreation script for this?

Lukas

On Tue, Jun 14, 2011 at 8:59 PM, Eric Mill kprojection@gmail.com wrote:

The opposite of my other problem - sometimes when I ask for highlighting
back from Elasticsearch, the highlight excerpt is much, much larger than my
requested fragment size. In one case, I got a highlight excerpt of over
34,000 characters, when my requested fragment size was only 200.

Any ideas of how I can combat this?

-- Eric