RE: Synonym Filter disable at query time

2011-05-10 Thread Robert Petersen
Very nice! Good job! :) -Original Message- From: mtraynham [mailto:mtrayn...@digitalsmiths.com] Sent: Tuesday, May 10, 2011 9:44 AM To: solr-user@lucene.apache.org Subject: RE: Synonym Filter disable at query time Just a heads up on a solution. copyField wasn't need, but

RE: Synonym Filter disable at query time

2011-05-10 Thread mtraynham
Just a heads up on a solution. copyField wasn't need, but a new fieldType and a non-indexed, non-stored field was added. Within a new Synonym processor that executes right before the AnalyzerQueryNodeProcessor, I was able to modify the field name for each node to point at the new field. Therefor

RE: Synonym Filter disable at query time

2011-05-09 Thread Robert Petersen
Yay! :) -Original Message- From: mtraynham [mailto:mtrayn...@digitalsmiths.com] Sent: Monday, May 09, 2011 1:59 PM To: solr-user@lucene.apache.org Subject: RE: Synonym Filter disable at query time Actually now that I think about it, with copy fields I can just single out the Synonym

RE: Synonym Filter disable at query time

2011-05-09 Thread Robert Petersen
I was thinking search both and boost non-synonym field perhaps? -Original Message- From: mtraynham [mailto:mtrayn...@digitalsmiths.com] Sent: Monday, May 09, 2011 1:20 PM To: solr-user@lucene.apache.org Subject: RE: Synonym Filter disable at query time Awesome thanks! Also, you

RE: Synonym Filter disable at query time

2011-05-09 Thread mtraynham
Actually now that I think about it, with copy fields I can just single out the Synonym reader and boost from an earlier processor. Thanks again though, that solved a lot of headache! -- View this message in context: http://lucene.472066.n3.nabble.com/Synonym-Filter-disable-at-query-time-tp291987

RE: Synonym Filter disable at query time

2011-05-09 Thread mtraynham
Awesome thanks! Also, you wouldn't happen to have any insight on boosting synonyms lower than the original query after they were stemmed, would you? Say if I had synonyms turned on: The TokenStream is setup to do Synonyms -> StopFilter -> LowerCaseFilter -> SnowballPorter. Say I search for Thom

RE: Synonym Filter disable at query time

2011-05-09 Thread Robert Petersen
Just make another field using copyfield which the other field does not apply synonyms to the text and then search either the one with or without from the front end... that will be your selector. :) -Original Message- From: mtraynham [mailto:mtrayn...@digitalsmiths.com] Sent: Monday, May