Over a million developers have joined DZone.

Reviewing Apache Lucene and Solr 3.5

· Java Zone

Microservices! They are everywhere, or at least, the term is. When should you use a microservice architecture? What factors should be considered when making that decision? Do the benefits outweigh the costs? Why is everyone so excited about them, anyway?  Brought to you in partnership with IBM.

Today Apache Lucene and Solr PMC announced another version of Apache Lucene library and Apache Solr search server numbred 3.5. When comparing to the 3.4 there were some major changes introduced about which you can read in the rest of the post.

Some of the changes in version 3.5 compared to 3.4:

  • Lucene

    • Substantial reduction of memory needed to hold term dictionary
    • Deep paging support by adding searchAfter method to the IndexSearcher class
    • Added SearchManager which simplifies sharing and opening IndexSearcher in multithreaded environment
    • IndexWriter optimize method was renamed to forceMerge to sound less cool :)
    • IndexSearcher reopen method was renamed to openIfChanged which now return null if the index wasn’t changed
    • Added SearchLifetimeManager which simplifies usage of the same instance of searcher between multiple requests

  • Solr

    • Ability to use grouping functionality with distributed search
    • Language identification contrib module which use Apache Tika
    • Trie field types and dates support sortMissingFirst and sortMissingLast attributes
    • Changes from Apache Lucene 3.5 library, for example substantial reduction of memory needed for term dictionary

The full list of changes in Apache Lucene 3.5 is available at the following URL address: http://wiki.apache.org/lucene-java/ReleaseNote35. The full list of changes in Apache Solr 3.5 can be found at the following URL address: http://wiki.apache.org/solr/ReleaseNote35.

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

Please remember that the mirrors are just starting to update so not all of them will contain the 3.4 version of Lucene and Solr.

Discover how the Watson team is further developing SDKs in Java, Node.js, Python, iOS, and Android to access these services and make programming easy. Brought to you in partnership with IBM.

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 best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

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

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

{{ parent.tldr }}

{{ parent.urlSource.name }}