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
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
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
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
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
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
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
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