Thanks. I'm looking in to it.

Somehow it appears that the first line in the synonyms file is not registered 
as a synonym. Can this be correct, the first line is ignored?

/Peter



-----Original Message-----
From: Jack Krupansky [mailto:j...@basetechnology.com] 
Sent: 24. juni 2013 15:22
To: solr-user@lucene.apache.org
Subject: Re: Help with synonyms

Try the Solr Admin UI analysis page and see how finagle and æggeblomme are 
analyzed at BOTH index and query time.

The "=>" rule does a replacement, while the pure comma rules support 
equivalence.

Your query-time and index-time analyzers need to be "compatible", which 
sometimes means that they can't be identical - since replacement rules mean 
that a term will not appear in the index.

-- Jack Krupansky

-----Original Message-----
From: Peter Kirk
Sent: Monday, June 24, 2013 4:10 AM
To: solr-user@lucene.apache.org
Subject: Help with synonyms

Hi

I have a synonyms file that looks like this:

finagle => æggeblomme
frumpy => spiste
canard, æggeblomme
corpse, spiste

(It's just an example, and has no real meaning).

The issue I don't understand is that a search for "finagle" does not find 
documents containing "æggeblomme" (which means "egg yolk").
But all the others find the corresponding words. (For example, "frumpy" 
finds "spiste", and "canard" finds "æggeblomme").

Why could this be?

Thanks,
Peter






Reply via email to