Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Lucene 3.6, 4.x Get New Feature: Query Time Joining

DZone's Guide to

Lucene 3.6, 4.x Get New Feature: Query Time Joining

· Java Zone ·
Free Resource

Download Microservices for Java Developers: A hands-on introduction to frameworks and containers. Brought to you in partnership with Red Hat.

A very handy new feature called query time joining is coming to Lucene sooner than anticipated.  While it was confirmed last month that it would be in Lucene 4.0, the most recent news from Apache indicates that it will be included sooner than expected in Lucene 3.6.

Just this week, query time joining was added to Lucene 3.6, which is now preparing for a release. The main detail to take note of is the differences in the query time joining feature that will be in 3.6 and the version that was committed to the 4.0 trunk. 

The version that has been committed in the 4.0 trunk is about 3 times faster than the one in 3.6.  Also, the 4.0 version of this feature will support joining for fields that have multiple values for each document, but at least you will get to use the feature as early as 3.6. 

This is yet another reason to prepare for a Lucene migration to 4.x when it's ready.  The number of awesome new features is going to be too good to pass up.

Download Building Reactive Microservices in Java: Asynchronous and Event-Based Application Design. Brought to you in partnership with Red Hat

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}