Re: Strange behavior with search on empty string and NOT

2012-04-09 Thread Chris Hostetter
: Would it be a good idea to have Solr throw syntax error if an empty string : query occurs? erick's explanation wasn't very precise ... solr doesn't have any special handling of "empty strings", but what you are searching for *might* be a totally valid query based on how the field type is c

Re: Strange behavior with search on empty string and NOT

2012-03-13 Thread Lan
Would it be a good idea to have Solr throw syntax error if an empty string query occurs? -- View this message in context: http://lucene.472066.n3.nabble.com/Strange-behavior-with-search-on-empty-string-and-NOT-tp3818023p3823572.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Strange behavior with search on empty string and NOT

2012-03-12 Thread Erick Erickson
Because Lucene query syntax is not a strict Boolean logic system. There's a good explanation here: http://www.lucidimagination.com/blog/2011/12/28/why-not-and-or-and-not/ Adding &debugQuery=on to your search is your friend .. You'll see that your return (at least on 3.5 with going at /solr/select)