lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Jelsma <mar...@buyways.nl>
Subject Re: some snynonym clarifications
Date Thu, 18 Mar 2010 16:19:32 GMT
Hi,


Check out the wiki page on the SynonymFilterFactory. It gives a decent 
explantion on the subject. The backslash is just for escaping otherwise 
meaningful characters.


[1]:http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.SynonymFilterFactory


Cheers,

On Thursday 18 March 2010 17:10:56 Mark Fletcher wrote:
> Hi,
> 
> Just needed some help to understand the following synonym mappings:-
> 
> 1. aaa => aaaa
>   does it mean:-
>          if the user queries for aaa it is replaced with aaaa and documents
> matching aaaa are searched for
>    or does it mean
>          if the user queries for aaa, documents with aaa as well as aaaa
>  are looked for
> 
> 
> 2. bbb => bbbb1 bbbb2
>         does it mean that if the user queries for bbb, SOLR will look for
> documents that contain bbbb1 bbbb2
> 
> 
> 3. ccc => cccc1,cccc2
>         does it mean that if the user queries for ccc, SOLR will look for
> documents that contain cccc1 or cccc2
> 
> 4.  a\=>a => b\=>b
>          First of all my doubt is what does the "\" do there. Does it have
> any special significance.
>          Can someone help me interpret the above
> 
> 5. a\,a => b\,b
>           Can some one help me with this also
> 
> 6. fooaaa,baraaa,bazaaa
>           does this mean that if any of  fooaaa or baraaa  or bazaaa comes
> as the search keyword, SOLR will look for documents that contain
>                          fooaaa
> 
> 7. abc def rose\, atlas method, NY.GNP.PCAP.PP.CD
>            does this mean a query for any of the above 3 will always be
> replaced by a query for abc def rose\
> 
> Can some one pls extend some help at your earliest convenience.
> 
> Thank you.
> Mark.
> 

Markus Jelsma - Technisch Architect - Buyways BV
http://www.linkedin.com/in/markus17
050-8536620 / 06-50258350


Mime
View raw message