#3 and #4 are different queries - the "other" term is used in different fields. What is your default search field, which will be used for "other" in #3?

Is your "tag" field a "string" field type? If so, then it is case sensitive. If you really need it to be case insensitive, make it a "text" field using the keyword tokenizer.

-- Jack Krupansky

-----Original Message----- From: Payal.Mulani
Sent: Tuesday, July 30, 2013 3:35 AM
To: solr-user@lucene.apache.org
Subject: Re: Shows different result with using 'and' and 'AND'

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