Weird highlighting error ... failed to highlight field ... String index out of range

can you see any errors in the log files that give more information about
what happens here? or can you make this reproducible with a selfcontained
gist?

simon

On Monday, April 1, 2013 8:07:32 AM UTC+2, concept47 wrote:

I cannot make head or tail of this error, and its happening pretty
randomly to where I don't even know where to start looking.

This is what the full error looks like

Tire::Search::SearchRequestFailed: 500 :
{"error":"SearchPhaseExecutionException[Failed to execute phase
[query_fetch], total failure; shardFailures
{[7McitJnjQkqLkViqUpZUyw][content][4]:
FetchPhaseExecutionException[[content][4]: query[+_all:account +_all:set
+_all:up],from[0],size[20]: Fetch Failed [Failed to highlight field
[post_content]]]; nested: StringIndexOutOfBoundsException[String index out
of range: -5]; }]","status":500}

A query like
"relationship learning"
will run fine, but running
"relationship centered learning"
will throw the error, actually any of these letters c, d, j, q, x, z used
with "relationship learning" .. like "d relationship learning" will throw
the error.

Its truly maddening.

I'm running elasticsearch 19.2 with Tire
I just want to know where to start looking, any ideas will help.

Thanks

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.