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 "O. Klein" <kl...@octoweb.nl> on 2012/01/09 13:51:11 UTC
Re: Highlight with multi word synonyms
Koji, maybe you missed my confirmation due to the hijacking of the thread.
I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour
for highlighting I want. So yeah, I can confirm this is a bug.
Looking forward to a fix :)
Koji Sekiguchi wrote
>
> (11/12/24 21:20), O. Klein wrote:
>> Copy pasted following text from lucene mailing list as it describes my
>> problem:
>>
>> " I'm trying to use multi-word synonyms. For example in my synonyms file
>> I
>> have nhl, national
>> hockey league. If I do this index only, a search for nhl returns a
>> correct
>> match, but highlights
>> the first word only, national. Ideally, it would highlight national
>> hockey
>> league or not highlight
>> at all. If I do the synonyms at both index and query time, it finds the
>> match and does the
>> correct highlighting, but I understand it is not ideal to do synonyms at
>> index and query time.
>> I am expanding synonyms and using edismax. Thoughts? "
>>
>> I really only want to use synonym expansion on index only, but this
>> behaviour makes that impossible.
>>
>> Please advise.
>
> I think this is a bug.
>
> I can reproduce the same problem with Solr 4.0. But if I set
> <luceneMatchVersion>LUCENE_33</luceneMatchVersion> in solrconfig.xml and
> re-index, the problem is gone.
>
> What version of Solr are you using? Can you try LUCENE_33 and report the
> result?
>
> koji
> --
> http://www.rondhuit.com/en/
>
--
View this message in context: http://lucene.472066.n3.nabble.com/Highlight-with-multi-word-synonyms-tp3610466p3644439.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Highlight with multi word synonyms
Posted by "O. Klein" <kl...@octoweb.nl>.
Thanx!
Not looking at Lucene project I totally missed that.
Keep up the good work.
--
View this message in context: http://lucene.472066.n3.nabble.com/Highlight-with-multi-word-synonyms-tp3610466p3644729.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Highlight with multi word synonyms
Posted by Koji Sekiguchi <ko...@r.email.ne.jp>.
(12/01/09 21:51), O. Klein wrote:
> Koji, maybe you missed my confirmation due to the hijacking of the thread.
>
> I am using Solr 4.0 and after reindexing with LUCENE_33 I got the behaviour
> for highlighting I want. So yeah, I can confirm this is a bug.
>
> Looking forward to a fix :)
>
The fix of the problem has been done. See:
https://issues.apache.org/jira/browse/LUCENE-3668
koji
--
http://www.rondhuit.com/en/