Apache Lucene is a high-performance, full-featured text search engine
library written entirely in Java. It is a technology suitable for nearly any application that requires full-text search, especially cross-platform.
This release contains numerous bug fixes, optimizations, and improvements,
some of which are highlighted below.
* Span queries now share document conjunction/intersection code with
boolean queries, and use two-phased iterators for faster intersection by
avoiding loading positions in certain cases.
SpanQuerys allow for nested, positional restrictions when matching documents in Lucene. SpanQuery’s are much like PhraseQuerys or MultiPhraseQuerys in that they all restrict term matches by position, but SpanQuerys can be much more expressive.
* Added two-phase support to SpanNotQuery, and SpanPositionCheckQuery and
its subclasses: SpanPositionRangeQuery, SpanPayloadCheckQuery,
The basic SpanQuery units are the SpanTermQuery and the SpanNearQuery.
* Added a new query time join to the join module that uses global
ordinals, which is faster for subsequent joins between reopens.
* New CompositeSpatialStrategy combines speed of RPT with accuracy of SDV.
Includes optimized Intersect predicate to avoid many geometry checks. Uses
* New LimitTokenOffsetFilter that limits tokens to those before a
configured maximum start offset.
* New spatial PackedQuadPrefixTree, a generally more efficient choice
than QuadPrefixTree, especially for high precision shapes. When used, you
should typically disable RPT’s pruneLeafyBranches option.
PackedQuadPrefixTree subclass of QuadPrefixTree, this
SpatialPrefixTree uses the compact QuadCell encoding.
* Expressions now support bindings keys that look like zero arg functions
* Add SpanWithinQuery and SpanContainingQuery that return spans inside of
/ containing another spans.
* New Spatial “Geo3d” API with partial Spatial4j integration. It is a set
of shapes implemented using 3D planar geometry for calculating spatial
relations on the surface of a sphere. Shapes include Point, BBox, Circle,
Path (buffered line string), and Polygon.
The release is available for immediate download here