try executing these with &debug=all and examine the resulting parsed query, that'll show you exactly how the query is parsed.
Also, the query language is not strictly boolean, see: http://searchhub.org/2011/12/28/why-not-and-or-and-not/ The first thing I would try would be to parenthesize explicitly as keyword:((assistant AND coach) OR (iit AND kanpur)) Best Erick On Sat, Apr 13, 2013 at 7:06 PM, anurag.jain <anurag.k...@gmail.com> wrote: > Hi, If you can help me in. It will solve my problem. > > keyword:(*assistant AND coach*) giving me 1 result. > > keyword:(*iit AND kanpur*) giving me 2 result. > > But query:- > > keyword:(*assistant AND coach* OR (*iit AND kanpur*)) giving me only 1 > result. > > Also i tried. keyword:(*assistant AND coach* OR (*:* *iit AND kanpur*)) > giving me only 1 result. Don't know why. > > How query should look like ?? please help me to find out solution. > > Thanks in advance. > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Which-tokenizer-or-analizer-should-use-and-field-type-tp4055591p4055837.html > Sent from the Solr - User mailing list archive at Nabble.com.