Using q works just as one would expect as well ;) I think you confuse using negation to find documents that don't _have_ a specific field. In that case, a simple negation doesn't work indeed.
> Wait, will a pure negative filter query actually work then, even though > a pure negative lucene 'q' won't? > > WOAH, it WILL. Okay, ignore my last message. But, okay, can someone > explain THAT one to me? > > How come &q=-history does NOT work with Solr 1.4.1 lucene query parser, > but &q=something&fq=-history DOES work, even though that fq is still > using the same lucene query parser, no? > > On 5/17/2011 6:14 PM, Yonik Seeley wrote: > > On Tue, May 17, 2011 at 6:07 PM, Burton-West, Tom<tburt...@umich.edu> wrote: > >> If I have a query with a filter query such as : " q=art&fq=history" and > >> then run a second query "q=art&fq=-history", will Solr realize that it > >> can use the cached results of the previous filter query "history" (in > >> the filter cache) > > > > Yep. > > > > You should be able to verify with the filterCache section of the stats > > admin page. > > > > -Yonik > > http://www.lucenerevolution.org -- Lucene/Solr User Conference, May > > 25-26, San Francisco