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

Lucene and Solr 4.8

DZone's Guide to

Lucene and Solr 4.8

· Big Data Zone
Free Resource

Need to build an application around your data? Learn more about dataflow programming for rapid development and greater creativity. 

Today Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbered 4.8. This is a next release continuing the 4th version of both Apache Lucene and Apache Solr. This is also the first version of Lucene that requires JDK 7.

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

Lucene

  • First version of Lucene requiring JDK 1.7
  • New index format stores checksums for each file and can check them during merges
  • HunspellStemFilter uses 10 to 100x less memory and can open OpenOffice dictionaries without errors
  • Rescorer API was added to allow recalculating score for documents using more complicated functions
  • NativeFSLockFactory bug was fixed that allowed multiple IndexWriter instances obtain a lock
  • Multiple bug fixes and improvements since Lucene 4.7.2

Solr

  • Expand component was introduced – it allows to expand collapsing and block-join relationships
  • Added ADDREPLICA command to CollectionsAPI to allow easy replica creation
  • Complex phrase queries were added to Solr
  • <fields> and <types> tags in schema.xml are not mandatory anymore
  • REST API was added for synonyms and stopwords
  • Optimizations and bugfixes from Lucene 4.8

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

Apache Lucene 4.8 library can be downloaded from the following address: http://www.apache.org/dyn/closer.cgi/lucene/java/. Apache Solr 4.8 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.8 version of Lucene and Solr.

 

Check out the Exaptive data application Studio. Technology agnostic. No glue code. Use what you know and rely on the community for what you don't. Try the community version.

Topics:

Published at DZone with permission of Rafał Kuć, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}