Hi, This field type is part of the spatial module. Lucene Core, by default, has no support for ranges, just single-valued numeric values.
http://lucene.apache.org/core/5_0_0/spatial/org/apache/lucene/spatial/prefix/tree/DateRangePrefixTree.html But it is not a conventional field like NumericField, it is a bit more complicated. You have to understand how the spatial module works. We are sorry that the release notes were not precise enough. Uwe ----- Uwe Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de > -----Original Message----- > From: Torsten Krah [mailto:krah...@gmail.com] > Sent: Wednesday, February 25, 2015 10:55 AM > To: java-user@lucene.apache.org > Subject: Searching for DateRangeField in Lucene 5.0.0 > > 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 --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org