thanks . Is it possible to do date faceting on multiple solr shards? I am using index created in two different shards to do date faceting on field "DATE"
* http://localhost:8983/solr/1_13_1_3/select?&shards=localhost:8983/solr/index1/,localhost_two:8983/solr/index/&start=0&rows=20&q=*&facet=true&facet.date=DATE&facet.date.start=2004-01-01T00:00:00Z&facet.date.end=2011-01-01T00:00:00Z&facet.date.gap=%2B1YEAR * On Fri, Feb 12, 2010 at 3:39 AM, Otis Gospodnetic < otis_gospodne...@yahoo.com> wrote: > Mark, > > Yes, facets will give you that information. Min/max.... StatsComponent? > See http://www.search-lucene.com/?q=StatsComponent > > Otis > ---- > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > Hadoop ecosystem search :: http://search-hadoop.com/ > > > > ----- Original Message ---- > > From: Mark N <nipen.m...@gmail.com> > > To: solr-user@lucene.apache.org > > Sent: Wed, February 10, 2010 8:12:43 AM > > Subject: Getting max/min dates from solr index > > > > How can we get the max and min date from the Solr index ? I would need > these > > dates to draw a graph ( for example timeline graph ) > > > > > > Also can we use date faceting to show how many documents are indexed > every > > month . > > Consider I need to draw a timeline graph for current year to show how > many > > records are indexed for every month .So i will have months in X axis and > no > > of document in Y axis. > > > > What should be the better approach to design a schema to achieve this > > functionality ? > > > > > > Any suggestions would be appreciated > > > > thanks > > > > > > -- > > Nipen Mark > > -- Nipen Mark