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): >

Re: Date Facets

2010-02-24 Thread Liam O'Boyle
In response to myself, The problem occurs because the date ranges are inclusive. I can fix this by making facet.date.gap = +1MONTH-1SECOND, but is there a way to specify that the upper bound is exclusive, rather than inclusive? Liam On Wed, 2010-02-24 at 16:54 +1100, Liam O'Boyle wrote: > After

Re: Date Facets

2010-02-24 Thread gwk
Hi Liam, This happens because the range searches for date faceting are inclusive on both ends. So values on the exact edges of the intervals are counted twice. You can see some solutions at http://old.nabble.com/Date-Faceting-and-Double-Counting-td25227846.html Regards, gwk On 2/24/2010 6:

Re: date facets doubt

2008-12-20 Thread Chris Hostetter
: 1.- I am trying to use date facets but I am facing a trouble. I want to use : the same field to do 2 facet classification. I want to show the count of the i'm afraid the date faceting code doesn't support that. the only ways i can think of to do it would be to make two seperate requests, or t

Re: date facets doubt

2008-12-18 Thread Marc Sturlese
has anyone experienced this problem? Can't find an explanation... Thanks in advance Marc Sturlese wrote: > > Hey there, > > 1.- I am trying to use date facets but I am facing a trouble. I want to > use the same field to do 2 facet classification. I want to show the count > of the docs of the