Re: Help with synonyms

2013-06-25 Thread Shawn Heisey
On 6/25/2013 8:25 AM, Peter Kirk wrote: > 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? I will look into this later and file an issue if necessary, but if this is act

RE: Help with synonyms

2013-06-25 Thread Peter Kirk
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 in

Re: Help with synonyms

2013-06-24 Thread Jack Krupansky
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 the

Re: Help with Synonyms

2012-03-05 Thread Donald Organ
Excellent thank you, it is now working! On Mon, Mar 5, 2012 at 9:37 PM, Koji Sekiguchi wrote: > (12/03/06 11:23), Donald Organ wrote: > >> Ok so do I need to use a different format in my synonyms.txt file in order >> to do this at index time? >> >> > Right, if you want to apply synonym rules to

Re: Help with Synonyms

2012-03-05 Thread Koji Sekiguchi
(12/03/06 11:23), Donald Organ wrote: Ok so do I need to use a different format in my synonyms.txt file in order to do this at index time? Right, if you want to apply synonym rules to only index time. Use "," like this: floor locker, storage locker And don't forget to set expand="true" in yo

Re: Help with Synonyms

2012-03-05 Thread Donald Organ
Ok so do I need to use a different format in my synonyms.txt file in order to do this at index time? On Monday, March 5, 2012, Koji Sekiguchi wrote: > (12/03/06 11:07), Donald Organ wrote: >> >> No I do synonyms at index time. >> > : I am still getting results for storage locker and no

Re: Help with Synonyms

2012-03-05 Thread Koji Sekiguchi
(12/03/06 11:07), Donald Organ wrote: No I do synonyms at index time. : I am still getting results for storage locker and no results for floor locker synonyms.txt still looks like this: floor locker=>storage locker So that's the cause of the problem. Due to the definition "floor locker=>s

Re: Help with Synonyms

2012-03-05 Thread Donald Organ
No I do synonyms at index time. On Monday, March 5, 2012, Koji Sekiguchi wrote: > (12/03/06 0:11), Donald Organ wrote: >>> >>> Try to remove tokenizerFactory="**KeywordTokenizerFactory" in your >>> synonym filter >>> definition because I think you would want to tokenize the synonym settings >>> i

Re: Help with Synonyms

2012-03-05 Thread Koji Sekiguchi
(12/03/06 0:11), Donald Organ wrote: Try to remove tokenizerFactory="**KeywordTokenizerFactory" in your synonym filter definition because I think you would want to tokenize the synonym settings in synonyms.txt as "floor" / "locker" => "storage" / "locker". But if you set it to KeywordTokenizer,

Re: Help with Synonyms

2012-03-05 Thread Donald Organ
> > >> > Hi Donald, > > Try to remove tokenizerFactory="**KeywordTokenizerFactory" in your > synonym filter > definition because I think you would want to tokenize the synonym settings > in > synonyms.txt as "floor" / "locker" => "storage" / "locker". But if you set > it > to KeywordTokenizer, it w

Re: Help with Synonyms

2012-03-02 Thread Koji Sekiguchi
(12/03/03 1:39), Donald Organ wrote: I am trying to get synonyms working correctly, I want to map floor locker tostorage locker currently searching for storage locker produces results were as searching for floor locker does not produce any results. I have the following setup for index t