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
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&

Re: Getting max/min dates from solr index

2010-02-11 Thread Otis Gospodnetic
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

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