You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by ariya bala <ar...@gmail.com> on 2015/05/19 13:29:25 UTC

Solr 4.10.2 - highlighter : Random Error on retrieving document with Highlighter enabled

Hi,

I am facing an issue (solr 4.10.2) when we are trying retrieve a document
and highlight the hits.
Below is the exception and this happens in a random fashion.
If we try again to reload the same document which threw this exception, it
loads without exception.

Any help would be appreciated.

*Exception:*

org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token 0.8
exceeds length of provided text sized 9971

at
org.apache.solr.client.solrj.impl.HttpSolrServer.executeMethod(HttpSolrServer.java:552)
~solr-solrj-4.10.2.jar:4.10.2 1634293 - mike - 2014-10-26 05:56:22
<https://alphasense.jira.com/wiki/display/solr-solrj-4.10.2.jar/4.10.2+1634293+-+mike+-+2014-10-26+05%3A56%3A22>

at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:210)
~solr-solrj-4.10.2.jar:4.10.2 1634293 - mike - 2014-10-26 05:56:22
<https://alphasense.jira.com/wiki/display/solr-solrj-4.10.2.jar/4.10.2+1634293+-+mike+-+2014-10-26+05%3A56%3A22>

at
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:206)
~solr-solrj-4.10.2.jar:4.10.2 1634293 - mike - 2014-10-26 05:56:22
<https://alphasense.jira.com/wiki/display/solr-solrj-4.10.2.jar/4.10.2+1634293+-+mike+-+2014-10-26+05%3A56%3A22>


-- 
Cheers
*Ariya *