Re: Getting max/min dates from solr index

2010-02-17 Thread Chris Hostetter
: Is it possible to do date faceting on multiple solr shards? Distributed search doesn't currently support date faceting... http://wiki.apache.org/solr/DistributedSearch#Distributed_Searching_Limitations https://issues.apache.org/jira/browse/SOLR-1709 -Hoss

Re: Getting max/min dates from solr index

2010-02-16 Thread Mark N
ssage > > From: Mark N > > 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

Re: Getting max/min dates from solr index

2010-02-11 Thread Otis Gospodnetic
ark N > 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 ) > &

Re: Getting max/min dates from solr index

2010-02-11 Thread Jan Høydahl / Cominvent
How about a field indextime_dt filled with "NOW". Then do a facet query to get the montly stats last 12 months: http://localhost:8983/solr/select/?q=*:*&rows=0&facet=true&facet.date=indextime_dt&facet.date.start=NOW/MONTH-12MONTHS&facet.date.end=NOW/MONTH%2B1MONTH&facet.date.gap=%2B1MONTH To get

Getting max/min dates from solr index

2010-02-10 Thread Mark N
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