Re: Shows different result with using 'and' and 'AND'

2013-07-30 Thread Erick Erickson
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, n

Re: Shows different result with using 'and' and 'AND'

2013-07-30 Thread Jack Krupansky
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 

Re: Shows different result with using 'and' and 'AND'

2013-07-30 Thread Payal.Mulani
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

Re: Shows different result with using 'and' and 'AND'

2013-07-25 Thread Raymond Wiker
The query syntax is case sensitive; "and" is treated as a search term and not as an operator. On Thu, Jul 25, 2013 at 1:00 PM, Payal.Mulani < payal.mul...@highqsolutions.com> wrote: > Hi, > > I am using solr14 and when I search with 'and' the it searches the > documents > containing 'and' as a t