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

What's New in Lucene and Solr 5.4?

DZone's Guide to

What's New in Lucene and Solr 5.4?

Solr just got a new AngularJS-based UI, and Lucene's MatchAllDocsQuery just got faster.

· Big Data Zone ·
Free Resource

Hortonworks Sandbox for HDP and HDF is your chance to get started on learning, developing, testing and trying out new features. Each download comes preconfigured with interactive tutorials, sample data and developments from the Apache community.

Just before the end of the year, we are happy to announce that the newest version of Lucene and Solr have been released. Of course, this is another release from the 5.x branch and it is numbered 5.4. Let’s take a look at what changes were introduced to those products.

Some of the changes included in the Lucene library:

  • MatchAllDocsQuery just got faster
  • Filter class is now deprecated and you should use FILTER clause in BooleanQuery
  • Serbian language filter has been introduced
  • Query caching is now enabled by default in IndexSearcher
  • DefaultSimilarity class has been renamed to ClassicSimilarity

Some of the changes in the Solr search server:

  • New UI based on AngularJS is now linked from the existing UI and is slated to be the default in 5.5
  • Filter cache can now be accessed in solr query syntax using filter
  • We can now control the execution type of JSON facets using the method parameter
  • Basic authentication support has been added to SolrJ
  • Changes incorporated from Lucene 5.4

The full list of changes for Lucene is available at  http://wiki.apache.org/lucene-java/ReleaseNote54

The full list of changes for Solr is available at http://wiki.apache.org/solr/ReleaseNote54.

Apache Lucene 5.4 can be downloaded from: http://www.apache.org/dyn/closer.cgi/lucene/java/. If you want to download Solr 5.4 go to http://www.apache.org/dyn/closer.cgi/lucene/solr/.

Hortonworks Community Connection (HCC) is an online collaboration destination for developers, DevOps, customers and partners to get answers to questions, collaborate on technical articles and share code examples from GitHub.  Join the discussion.

Topics:
lucene ,solr

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}