RE: Problems with synonyms

2009-04-01 Thread Daniel Alheiros
t the Wiki page Yonik sent about it. Cheers, Daniel From: Leonardo Dias [mailto:leona...@catho.com.br] Sent: 31 March 2009 20:40 To: solr-user@lucene.apache.org Subject: Re: Problems with synonyms Hi, Vernon! We tried both approaches: OR and AND. In both cases

Re: Problems with synonyms

2009-03-31 Thread Vernon Chapman
Walter, Thanks for clarifying my mistake there. I wouldn't want to send someone down the wrong path. Thanks Vernon On 3/31/09 4:17 PM, "Walter Underwood" wrote: > It looks like you are using synonyms at query time. Don't do that, it > works very strangely. Only use them at index time. That do

Re: Problems with synonyms

2009-03-31 Thread Mark Ferguson
It's okay to not use the SynonymFilter for querying and for indexing. In fact, you would really only want to use one or the other: either index all synonyms, or query for them, but not both. I have read that there are issues with multi-word synonyms and my guess is that this is where your problem

Re: Problems with synonyms

2009-03-31 Thread Walter Underwood
It looks like you are using synonyms at query time. Don't do that, it works very strangely. Only use them at index time. That does the right matching and also gives the right idf for scoring. More details are here: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c461ac74b4 ddd82

Re: Problems with synonyms

2009-03-31 Thread Yonik Seeley
This is a known limitation of using the SynonymFilter and expanding to variants of different sizes at query time. See the notes for SynonymFilterFactory here: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#head-2c461ac74b4ddd82e453dc68fcfc92da77358d46 -Yonik http://www.lucidimaginat

Re: Problems with synonyms

2009-03-31 Thread Vernon Chapman
Leonardo, The only other thing I can think of is check the Field type in the schema.xml file make sure that you are using the same filters. For example if in your index analyzer you use the solr.SynonymFilterFactory filter make sure your query analyzer also uses the same filter class. Other than

Re: Problems with synonyms

2009-03-31 Thread Leonardo Dias
Hi, Vernon! We tried both approaches: OR and AND. In both cases, the results were smaller when the synonyms was set up, with no change at all when it comes to synonyms. Any other ideas? Is it likely to be a bug? Best, Leonardo Vernon Chapman escreveu: Leonardo, I am no expert but I wou

Re: Problems with synonyms

2009-03-31 Thread Vernon Chapman
Leonardo, I am no expert but I would check to make sure that the DefaultOperator parameter in your schema.xml file is set to OR rather thank AND. Vernon On 3/31/09 3:24 PM, "Leonardo Dias" wrote: > Hello there. How are you guys? > > We're having problems with synonyms here and I thought that