Re: Error when highlighting on multiValued fields

2016-07-04 Thread Zheng Lin Edwin Yeo
I found that if I set the termOffsets="false", then I can eliminate the error, and the highlighting will work normally. But what could be the reason that setting the termOffsets will cause the error on the multiValued field with fieldType="string"? Regards, Edwin On 4 July 2016 at 12:30, Zheng

Error when highlighting on multiValued fields

2016-07-03 Thread Zheng Lin Edwin Yeo
Hi, I'm getting this error when I tried to do highlighting search on a multiValued field. "error":{ "metadata":[ "error-class","org.apache.solr.common.SolrException", "root-error-class","org.apache.lucene.search.highlight.InvalidTokenOffsetsException"], "msg":"org.apache.lu