: It was a surprise to discover that : dateorigin_sort:"" : is a syntax error, but : dateorigin_sort:["" TO *] : is legit. This says that there's a bug in the Lucene syntax parser?
If it was, it was in the old parser ... using trunk Solr (with Lucene 2.3.1) they both work for me. Did you try dateorigin_sort:["" TO ""] then? : .../solr/select/?q=*:*&version=2.2&start=0&rows=0&indent=on&facet=true&f : acet.field=dateorigin_sort&facet.mincount=0&facet.sort=false : <lst name="facet_fields"> : <lst name="dateorigin_sort"> : <int name="">0</int> : Ummmmmm... it has an indexed empty value that does not correspond to a : record? Is it an unanchored data item in the index? Would optimizing : make this index data go away? that's odd ... the facet field code should ignore terms that are only in deleted documents (Are you sure your "standard" qt doesn't have a default or invariant "fq" param in the solrconfig.xml?) but even if I'm wrong: yes optimizing your index will expunge any terms which are only associated deleted docs. -Hoss