Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-17 Thread Dmitry Kan
Hi, If you are not afraid of looking into the code, you could trace and possibly fix this. Remember to commit a patch :) Another (easier?) way is to compile a repeatable test and file a Jira. Dmitry On Tue, Apr 16, 2013 at 4:12 PM, juancesarvillalba < juancesarvilla...@gmail.com> wrote: > > >

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-16 Thread juancesarvillalba
Hi, At moment, I am not considering store synonyms in the index, although is something that I have to do some time. Is "strange" that something "common" like multi-word synonyms have a bug with highligting but I couldn't find any solution. Thanks for your help. -- View this message

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-16 Thread Dmitry Kan
Could be a bug in the higlighter. But before claiming that, I would still play around different options, like hl.fragSize, hl.highlightMultiTerm. Also, have you considered storing synonyms in the index? On Tue, Apr 16, 2013 at 9:42 AM, juancesarvillalba < juancesarvilla...@gmail.com> wrote: >

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-15 Thread juancesarvillalba
Hi, I am using the stander highlighting. http://wiki.apache.org/solr/HighlightingParameters Cheers -- View this message in context: http://lucene.472066.n3.nabble.com/SolR-InvalidTokenOffsetsException-with-Highlighter-and-Synonyms-tp4053988p4056240.html Sent from the Solr - User mailing list

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-15 Thread Dmitry Kan
Do you use the standard highlighter or FastVectorHighlighter / PhraseHighlighter ? Do you use hl.highlightMultiTerm option? On Tue, Apr 16, 2013 at 2:51 AM, juancesarvillalba < juancesarvilla...@gmail.com> wrote: > > Hi,

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-15 Thread juancesarvillalba
Hi, Before I had a different configuration that was working but with Synonyms in Query time. Now I have a requirement to add multi-word synonyms is for that I am checking this configuration. It doesn't work with this configuration still without multi-words synonyms. The problem happens only wit

Re: SolR InvalidTokenOffsetsException with Highlighter and Synonyms

2013-04-15 Thread Dmitry Kan
Hi, Does it work well, if you remove synonyms with spaces in them, like "eighty six" ? Dmitry On Fri, Apr 5, 2013 at 3:43 AM, juancesarvillalba < juancesarvilla...@gmail.com> wrote: > Hi I saw some similar problems in other threads but I think that this is a > little different and couldn't get