I haven't written one, but I _think_ you could just implement a
QParser that does the transformation. See the LuceneQParser or the
DismaxQParser.
On May 12, 2008, at 4:59 AM, Umar Shah wrote:
Hi,
Due some requirement I need to transform the user queries before
passing it
to the standard handler in Solr, can anyone suggest me the best way
to do
this.
I will need to use a transfomation class that would provide
functions to
process the input query 'qIn' and transform it to the resultant
query 'qOut'
and then pass it to solr handler as if qOut were the original user
query.
thanks in anticipation,
-umar