Hi I saw some similar problems in other threads but I think that this is a
little different and couldn't get any solution.*I get the exception
*/org.apache.lucene.search.highlight.InvalidTokenOffsetsException: Token
eightysix exceeds length of provided text sized 80/This happens for example
when I made a query for a word that have synonyms and with highlighting.For
example I have made a query for 86 , I have a "eightysix" synonym for this
and with highlighting I got the previous exception.The relevant conf
is:*Field Type:*                                                               
*Synonyms.txt*Brand 86, 86, eightysix, eight six, eighty six,
eighty-six*Default Highlighting Component*                100                   
      
70            0.5            [-\w ,/\n\"']{20,200}                    
                                                                       
10      .,!? 	

                        WORD                  en     
US      Also I saw that we I removed some words from the synonyms list, it
works right.Anyone has any idea about what is wrong ?Best Regards.



--
View this message in context: 
http://lucene.472066.n3.nabble.com/SolR-InvalidTokenOffsetsException-with-Highlighter-and-Synonyms-tp4053988.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to