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