lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From osocurious2 <ken.fos...@realestate.com>
Subject Query modification
Date Fri, 02 Jul 2010 22:12:00 GMT

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.

Mime
View raw message