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 Nicolas Paris <ni...@riseup.net> on 2018/12/26 13:25:00 UTC

MoreLikeThis & Synonyms

Hi

It turns out that MoreLikeThis handler does not use queryTime synonyms
expansion.

It is only compatible with indexTime synonyms.

However multiword synonyms are only compatible with queryTime synonyms
expansion.

For this reason this does not allow the use of multiword synonyms within
together with the MoreLikeThis handler.

Is there any reason for the MoreLikeThis feature not compatible with
Multiword Synonyms  ?

Thanks
-- 
nicolas

Re: MoreLikeThis & Synonyms

Posted by Nicolas Paris <ni...@riseup.net>.
On Wed, Dec 26, 2018 at 09:09:02PM -0800, Erick Erickson wrote:
> bq. However multiword synonyms are only compatible with queryTime synonyms
> expansion.
> 
> Why do you say this? What version of Solr? Query-time mult-word
> synonyms were _added_, but AFAIK the capability of multi-word synonyms
> was not taken away. 

From this blogpost [1] I deduced multi-word synonyms are only compatible
with query time expansion.

> Or are you saying that MLT doesn't play nice at all with multi-word
> synonyms?

From my tests, MLT does not expand the query with synonyms. So it is not
possible to use query time synonyms nor mutli-word. Only index time is
possible with the limitations it has [1]

> What version of Solr are you using?

I am running solr 7.6.

[1] https://lucidworks.com/2017/04/18/multi-word-synonyms-solr-adds-query-time-support/

-- 
nicolas

Re: MoreLikeThis & Synonyms

Posted by Erick Erickson <er...@gmail.com>.
bq. However multiword synonyms are only compatible with queryTime synonyms
expansion.

Why do you say this? What version of Solr? Query-time mult-word
synonyms were _added_, but
AFAIK the capability of multi-word synonyms was not taken away. Or are
you saying that
MLT doesn't play nice at all with multi-word synonyms?

What version of Solr are you using?

Best,
Erick

On Wed, Dec 26, 2018 at 5:25 AM Nicolas Paris <ni...@riseup.net> wrote:
>
> Hi
>
> It turns out that MoreLikeThis handler does not use queryTime synonyms
> expansion.
>
> It is only compatible with indexTime synonyms.
>
> However multiword synonyms are only compatible with queryTime synonyms
> expansion.
>
> For this reason this does not allow the use of multiword synonyms within
> together with the MoreLikeThis handler.
>
> Is there any reason for the MoreLikeThis feature not compatible with
> Multiword Synonyms  ?
>
> Thanks
> --
> nicolas