Very excessive highlight fragments


(Eric Mill) #1

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


(Lukáš Vlček) #2

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


(Eric Mill) #3

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


(Lukáš Vlček) #4

Recreation script is a sequence of curl commands that can be used by others
to get the same issue. Check http://www.elasticsearch.org/help/ 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


(system) #5