Re: Date faceting +1MONTH problem

2010-10-22 Thread Yonik Seeley
On Fri, Oct 22, 2010 at 6:02 PM, Shawn Heisey wrote: > On 10/22/2010 3:01 PM, Yonik Seeley wrote: >> >> On Fri, Sep 17, 2010 at 9:51 PM, Chris Hostetter >>  wrote: >>> >>>  the default query parser >>> doesn't support range queries with mixed upper/lower bound inclusion. >> >> This has just been

Re: Date faceting +1MONTH problem

2010-10-22 Thread Shawn Heisey
On 10/22/2010 3:01 PM, Yonik Seeley wrote: On Fri, Sep 17, 2010 at 9:51 PM, Chris Hostetter wrote: the default query parser doesn't support range queries with mixed upper/lower bound inclusion. This has just been added to trunk. Things like [0 TO 100} now work. Awesome! Is it easily port

Re: Date faceting +1MONTH problem

2010-10-22 Thread Yonik Seeley
On Fri, Sep 17, 2010 at 9:51 PM, Chris Hostetter wrote: > the default query parser > doesn't support range queries with mixed upper/lower bound inclusion. This has just been added to trunk. Things like [0 TO 100} now work. -Yonik http://www.lucidimagination.com

Re: Date faceting +1MONTH problem

2010-09-17 Thread Chris Hostetter
: Reindexing with a +1MILLI hack had occurred to me and I guess that's what : I'll do in the meantime; it just seemed like something that people must have : run into before! I suppose it depends on the granularity of your people have definitely run into it before, and most of them (that i know

Re: Date faceting +1MONTH problem

2010-09-10 Thread Dennis Gearon
Crowded' Laugh at http://www.yert.com/film.php --- On Thu, 9/9/10, Liam O'Boyle wrote: > From: Liam O'Boyle > Subject: Re: Date faceting +1MONTH problem > To: solr-user@lucene.apache.org > Date: Thursday, September 9, 2010, 4:20 PM > Hi Chris, > > Yes

Re: Date faceting +1MONTH problem

2010-09-10 Thread Jan Høydahl / Cominvent
Just attended a talk at JavaZone (www.javazone.no) by Stephen Colebourne about JSR-310 which will make these kind of operations easier in future JDK, and how Joda-Time goes a great way of enabling it today. I'm not saying it would fix your GAP issue, as it's all about what definition of "month"

Re: Date faceting +1MONTH problem

2010-09-09 Thread Liam O'Boyle
Hi Chris, Yes, I saw the facet.range.include feature and briefly tried to implement it before realising that it was Solr 3.1 only :) I agree that it seems like the best solution to problem. Reindexing with a +1MILLI hack had occurred to me and I guess that's what I'll do in the meantime; it just

Re: Date faceting +1MONTH problem

2010-09-09 Thread Chris Hostetter
: I'm trying to break down the data over a year into facets by month; to avoid : overlap, I'm using -1MILLI on the start and end dates and using a gap of : +1MONTH. : : However, it seems like February completely breaks my monthly cycles, leading Yep. Everything you posted makes sense to me in ho

Date faceting +1MONTH problem

2010-09-09 Thread Liam O'Boyle
Evening, I'm trying to break down the data over a year into facets by month; to avoid overlap, I'm using -1MILLI on the start and end dates and using a gap of +1MONTH. However, it seems like February completely breaks my monthly cycles, leading to incorrect counts further down the line; facets th