lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Koji Sekiguchi <k...@r.email.ne.jp>
Subject Re: Synonym configuration
Date Fri, 25 Jun 2010 02:40:36 GMT
(10/06/25 11:33), xdzgor wrote:
> Hi, can someone please confirm the following statements about configuration
> for the synonym filter, or correct me where I'm wrong?
>
> a =>  b
> a search for "a", is changed into a search for "b"
>
>
> a, b =>  c
> a search for "a" or a search for "b", is changed into a search for "c"
> (the same as a=>c and b=>c)
>
>
> a =>  b, c
> a search for "a", is changed into a search for "b" and a search for "c"
> (the same as a=>b and a=>c)
>
>
> a, b =>  c, d
> a search for "a" or a search for "b", is changed into a search for "c" and a
> search for "d"
> (the same as a=>c,d and b=>c,d)
>
>
> a, b, c
> depends on the value of the "expand" parameter in configuration (in the
> synonym filter config i schema.xml)
>
> if expand==true
> a, b, c =>  a, b, c
>
> if expand==false
> a, b, c =>  a
>
>
> Thanks,
> Peter
>    
Peter,

I think you are correct!

Koji

-- 
http://www.rondhuit.com/en/


Mime
View raw message