lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <>
Subject Re: Date Faceting and Double Counting
Date Wed, 02 Sep 2009 00:10:17 GMT

: When I added numerical faceting to my checkout of solr (solr-1240) I basically
: copied date faceting and modified it to work with numbers instead of dates.
: With numbers I got a lot of doulbe-counted values as well. So to fix my
: problem I added an extra parameter to number faceting where you can specify if
: either end of each range should be inclusive or exclusive. I just ported it


1) would you mind opening a Jira issue for your date faceting improvements 
as well (email attachments tend to get lost, and there are legal headaches 
with committing them that Jira solves by asking you explicitly if you 
license them to the ASF)

2) i haven't looked t your patch, but one of the reasons i never 
implemented an option like this with date faceting is that the query 
parser doesn't have any way of letting you write a query that is inclusive 
on one end, and exclusive on the other end -- so you might get accurate 
facet counts for range A-B and B-C (inclusive of the lower, exclusive of 
hte upp), but if you try to filter by one of those ranges, your counts 
will be off.  did you find a nice solution for this?


View raw message