Thanks Greet-Jan. Din't know about this trick. [?]
On Wed, Jun 2, 2010 at 5:39 PM, Geert-Jan Brits wrote:
> Hi Ninad,
>
> SolrQuery q = new SolrQuery();
> q.setQuery("*:*");
> q.setFacet(true);
> q.set("facet.data", "pub");
> q.set("facet.date.start", "2000-01-01T00:00:00Z")
> ... etc.
>
> basic
Hi Ninad,
SolrQuery q = new SolrQuery();
q.setQuery("*:*");
q.setFacet(true);
q.set("facet.data", "pub");
q.set("facet.date.start", "2000-01-01T00:00:00Z")
... etc.
basically you can completely build your entire query with the 'raw' set (and
add) methods.
The specific methods are just helpers.
S