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 09, 2011 11:17 AM To: solr-user@lucene.apache.org Subject: Synonym Filter disable at query time I would like to be able to disable the synonym filter during runtime based on a query parameter, say 'synoynms=true' or 'synonyms=false'. Is there a way within the AnaylzerQueryNodeProcessor or QParser that I can remove the SynonymFilter from the AnalyzerAttributes? It seems that the Analyzer has a hashmap for it's 'analyzers' but I cannot find the declaration of this item. Am I going about this wrong is also another question I had... -- View this message in context: http://lucene.472066.n3.nabble.com/Synonym-Filter-disable-at-query-time- tp2919876p2919876.html Sent from the Solr - User mailing list archive at Nabble.com.