For the future, it would certainly be worth considering some kind of generic mechanism for "query preprocessor" so that one could do a pseudo-synonym expansion before the query text gets sent to the query parser. As it is, you must do any such preprocessing yourself before sending the final query to Solr. Technically, you could also implement a "search component" which was invoked by Solr before the real query parser and "rewrites" the input query as you desire.

-- Jack Krupansky

-----Original Message----- From: george123
Sent: Tuesday, September 18, 2012 7:25 AM
To: solr-user@lucene.apache.org
Subject: Re: Solr4 how to make it do this?

Thanks. Yeah I was hoping someone might have a solution. Seems to me a
potential common scenario. ( a search term being/stemming to an actual
field).
I did think I might have to filter before passing to Solr but thats worst
case scenario for me.



--
View this message in context: http://lucene.472066.n3.nabble.com/Solr4-how-to-make-it-do-this-tp4008574p4008581.html Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to