: If I do a search that returns 1 result with a created date of : "1993-01-01T00:00:00.000Z", I get this: : <lst name="facet_dates"> : <lst name="created_date_dt"> : ... : <int name="1992-01-01T00:00:00.000Z">1</int> : <int name="1993-01-01T00:00:00.000Z">1</int>
This is because the "range queries" used in date faceting are "inclusive" of both bounding dates ... this was the simplest solution that we came up with at the time. There was disucssion at one time about adding additional options to control which bounds were inclusive and which were exclusive but I don't think anyone ever proposed anything concrete (or opend a Jira issue) : Am I better off storing the year separately in an integer field and : faceting on that? you mean using facet.field? that will certianly work. the other worarround (which is admitedly really hackish) is to add/subtract a few milliseconds, either to the dates of docs when you index them, or to your facet.date.start param (in your case: either add amilli to the docs, or subtract a milli from the param) -Hoss