On Wed, Nov 17, 2010 at 11:00 AM, Peter Blokland <pe...@desk.nl> wrote: > hi, > > On Wed, Nov 17, 2010 at 10:54:48AM -0500, Ken Stanley wrote: > >> > pubdate:([* TO NOW] OR (NOT *)) > >> Instead of using NOT, try simply prefixing the field name with a minus >> sign. This tells SOLR to exclude the field. Otherwise, the word NOT >> would be treated as a term, and would be applied against your default >> field (which may or may not affect your results). So instead of >> (pubdate:[* TO NOW]) OR ( NOT pubdate:*), you would write (pubdate:[* >> TO NOW]) OR ( -pubdate:*). > > tried that, it gives me exactly the same result... I can't really > figure out what's going on. > > -- > CUL8R, Peter. > > www.desk.nl --- Sent from my NetBSD-powered Talkie Toasterâ„¢ >
If you append your URL with debugQuery=on, it will tell you how SOLR parsed your query. What's your schema look like? And what does the debug query look like?