I'm trying to implement specifying queries - we have some results and need to
search over them.
But query, I constructed, returns some strange results. 

q=(text:(specific) OR title:(specific)) AND (text:(first long query) OR
title:(first long query))

This query returns something, which contains "specific", but not  "first
long query", but result differs a lot from simple "q=(text:(specific) OR
title:(specific))".

I tried the following with same results:
q=(text:(specific) OR title:(specific)) +(text:(first long query) OR
title:(first long query))
q=(text:(specific) OR title:(specific)) AND _query_:"(text:(first long
query) OR title:(first long query))"

I'm sure, that this is the real query, going to SOLR, cause I checked it
before sending (SolrQuery.toString())

I can't find out what exactly am I misunderstanding (and what results am I
getting - they are really strange).




--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLR-complex-queries-misunderstanding-tp4175188.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to