Try attaching &debug=query and see what the parsed query looks, that can
often give you clues as to what's really going on. Of course if tag is a string
type then Jack's comment is spot on, it's case sensitive.

The admin/analysis page will also help you understand the analysis chains.

But also, note that Lucene query syntax is not pure boolean logic, it just
comes close at times. See:
http://searchhub.org/dev/2011/12/28/why-not-and-or-and-not/

Best
Erick

On Tue, Jul 30, 2013 at 3:35 AM, Payal.Mulani
<payal.mul...@highqsolutions.com> wrote:
> Hi Raymond Wiker,
>
> When we search like this
>
> 1) tag:”test” works
>
> 2) tag:”TEST” works
>
> 3) tag:”test” && tag:”other” works to find items with both tags
>
> 4) tag:”TEST” && tag:”other” *doesn’t work.*
>
> Either 2 should fail with true case sensitivity or 4 should work (as the
> combination of two valid criteria),
>
> My question is that why 2 works perfect & 4 doesn't work..
> Please give me proper answer with depth because our lot more client have
> confusion for this question.
>
> Thanks.
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Shows-different-result-with-using-and-and-AND-tp4080280p4081221.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to