Try facet.mincount=1 , this will ensure you get only values bigger than
0
So example :
Serach to be q=district:A&facet.field=city&facet.mincount=1
Or via the Java api
SolrQuery solrQuery = new
SolrQuery("district:A").addFacetField("city").setFacetMinCount(1)
-Original Message-
From:
Are you running on a Linux/Unix box that has no X ... Did you try with
headless options ?
http://java.sun.com/developer/technicalArticles/J2SE/Desktop/headless/
Tika's RTF is using Swing and AWT to analyze the rtf, these in turn will
attempt to use Graphics libraries, unless you use headless.
-
solrServer.deleteByQuery("*:* AND
-version_uuid:e04534e2-28db-4420-a5f3-300477872c11");
Should do the trick.
-Original Message-
From: Noam G. [mailto:noam...@gmail.com]
Sent: 25 January 2010 13:58
To: solr-user@lucene.apache.org
Subject: Delete by query
Hi,
I have an index with 3M doc