Hey guys, a question about query multiple fields.

I would like to query my index with queries that contained some words that
should be stemmed and some that should not. For example, for the query:
Nike's new "running shoes", i would like to be able to get also nike, but
for "running shoes" i would like to get exact phrases only.

>From reading here i guess i'll have to index my text into two filelds, one
that goes through a stemmer (text_clean), and the other that doesn't
(text_orig).

My question is how do i query that? 
q=text_clean:Nike's new text_orig:"running shoes"
seems like it would work, but not sure its the best way.

Is there a way i can tell the parser(or extend it) so that every phrase
query it will use one field and for others will use the default field?

TIA
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/stemmed-terms-and-phrases-in-a-combined-query-tp959042p959042.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to