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

Apache Lucene and Solr 4.6

DZone's Guide to

Apache Lucene and Solr 4.6

· 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.

Recently, Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbered 4.6. This is a next release continuing the 4th version of both Apache Lucene and Apache Solr.

Here are some of the changes that were made comparing to the 4.5.1:

Lucene

  • Support for updating fields using NumericDocValues through updateNumericDocValue method of IndexWriter
  • A new FreeTextSuggester
  • A new DirectDocValuesFormat allowing to hold doc values as uncompressed Java arrays on heap
  • Various bugfixes and optimization since 4.5.1

Solr

  • Improvements to shard splitting functionality (more about shard splitting)
  • New CollapsingQParserPlugin for efficient field collapsing useful for high cardinality fields
  • SolrJ API for collections management
  • New EnumField type
  • Optimizations and bugfixes from Lucene 4.6

Full changes list for Lucene can be found at http://wiki.apache.org/lucene-java/ReleaseNote46. Full list of changes in Solr 4.6 can be found at: http://wiki.apache.org/solr/ReleaseNote46.

Apache Lucene 4.6 library can be downloaded from the following address: http://www.apache.org/dyn/closer.cgi/lucene/java/. Apache Solr 4.6 can be downloaded at the following URL address: http://www.apache.org/dyn/closer.cgi/lucene/solr/. Please remember that the mirrors are just starting to update so not all of them will contain the 4.6 version of Lucene and 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:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}