Re: date facets without intersections

2010-04-28 Thread Chris Hostetter
This thread spurred me on enough to follow through with the idea i posted in SOLR-397 a while back. I've attached a patch to that issue if you want to try it out... https://issues.apache.org/jira/browse/SOLR-397 It adds a "facet.date.include" param that supports the following options: all,

Re: date facets without intersections

2010-04-28 Thread Király Péter
Thanks, that's great! Péter - Original Message - From: "gwk" To: Sent: Wednesday, April 28, 2010 3:05 PM Subject: Re: date facets without intersections Hi, Several possible solutions are discussed in http://lucene.472066.n3.nabble.com/Date-Faceting-and-Double-Co

Re: date facets without intersections

2010-04-28 Thread Peter Sturge
Hi Péter, There has been a fair amount of discussion on this topic, and there are some pending things being looked at with regards inclusive/exclusive combinations etc. For today, the easiest way to get the results you want to use a granular time that allows you to specify a non-overlapping perio

Re: date facets without intersections

2010-04-28 Thread gwk
Hi, Several possible solutions are discussed in http://lucene.472066.n3.nabble.com/Date-Faceting-and-Double-Counting-td502014.html Regards, gwk On 4/27/2010 10:02 PM, Király Péter wrote: Dear Solr users, I am interesting, whether it is possible to get date facets without intersecting rang

Re: date facets without intersections

2010-04-28 Thread Király Péter
Grant Ingersoll said: You should be able to do inclusive/exclusive ranges using the query parser by mixing matching brackets [] and braces {}. See http://lucene.apache.org/java/2_9_1/queryparsersyntax.html#Range%20Searches Hi Grant, Thanks for your answer, but my problem is not that how to q

Re: date facets without intersections

2010-04-28 Thread Grant Ingersoll
On Apr 27, 2010, at 4:02 PM, Király Péter wrote: > Dear Solr users, > > I am interesting, whether it is possible to get date facets without > intersecting > ranges. Now the documents which stands on boundaries of ranges are covered > by both ranges. An example: > > facet result (from Solr): >

date facets without intersections

2010-04-27 Thread Király Péter
Dear Solr users, I am interesting, whether it is possible to get date facets without intersecting ranges. Now the documents which stands on boundaries of ranges are covered by both ranges. An example: facet result (from Solr): 3 3 12 If we translate into queries, it means that the number of d