Yeah, Uwe has it basically right. I was on vacation when the release notes were developed and missed the opportunity to review them before they were published. This bullet references “DateRangeField” but that’s the Solr side of this feature. The Lucene side is the combination of NumberRangePrefixTreeStrategy constructed with DateRangePrefixTree. See the docs for the spatial module generally, but note that this SpatialStrategy & SpatialPrefixTree are unique in that it’s 1 dimensional, and so you have to do things a little differently — namely you need to construct Shape instances (equivalent to Calendar or Calendar ranges) via utility methods on DateRangePrefixTree instead of using a Spatial4j SpatialContext.
I’ll tweak the wiki release notes. ~ David Smiley Freelance Apache Lucene/Solr Search Consultant/Developer http://www.linkedin.com/in/davidwsmiley On Wed, Feb 25, 2015 at 4:55 AM, Torsten Krah <krah...@gmail.com> wrote: > Hi, > > reading the release notes from here: > > https://wiki.apache.org/lucene-java/ReleaseNote50 > > its written that Lucene got a new DateRangeField: > > * New DateRangeField type enables Indexing and searching of date ranges, > particularly multi-valued ones. > > However - in which package is this field? Searched in the libraries and > the source code and found nothing. > Are the release notes wrong or was the field renamed? > > kind regards > > Torsten > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >