If I wanted to intercept a query and turn
    q=romantic italian restaurant in seattle
into
    q=romantic tag:restaurant city:seattle cuisine:italian

would I subclass QueryComponent, modify the query, and pass it to super? Or
is there a standard way already to do this?

What about changing it to
   q=romantic city:seattle cuisine:italian&fq=type:restaurant

would that be the same process, or is there a nuance to modifying a query
into a query+filterQuery?

Ken

-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Query-modification-tp939584p939584.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to