{"id":466,"date":"2012-07-03T23:49:29","date_gmt":"2012-07-03T21:49:29","guid":{"rendered":"http:\/\/sematext.solr.pl\/?p=466"},"modified":"2020-11-11T23:49:59","modified_gmt":"2020-11-11T22:49:59","slug":"apache-lucene-and-solr-4-0-alpha","status":"publish","type":"post","link":"https:\/\/solr.pl\/en\/2012\/07\/03\/apache-lucene-and-solr-4-0-alpha\/","title":{"rendered":"Apache Lucene and Solr 4.0 alpha"},"content":{"rendered":"<p>Today Apache Lucene and Solr PMC announced the release of&nbsp;<strong>4.0 alpha<\/strong> version of Apache Lucene library and Apache Solr search server. When comparing to the <a href=\"http:\/\/solr.pl\/en\/2012\/04\/12\/apache-lucene-and-solr-3-6\/\" target=\"_blank\" rel=\"noopener noreferrer\">3.6<\/a> there were some major changes introduced about which you can read in the rest of the post.<\/p>\n\n\n<!--more-->\n\n\n<p>Some of the changes in version <strong>4.0 alpha<\/strong> compared to 3.6:<\/p>\n<ul>\n<li>Lucene\n<ul>\n<li>Similarity calculation implementation has been changes. In addtion to that new Similarity models have been introduced, for example BM25.<\/li>\n<li>When using multiple indexing threads, IndexWriter can now flush to different segments resulting in substantial performance improvement.<\/li>\n<li>Codec API is introduced, which allows to choose (or implement your own) method of writing information to the index.<\/li>\n<li>FuzzyQuery performance has been greatly improved &#8211; from 100 to 200 times faster than the previous implementation.<\/li>\n<li>New SpellChecker implementation was introduced &#8211; DirectSpellChecker, which doesn&#8217;t require its own index.<\/li>\n<li>Added index statistics which allow one to check some information, like number of documents with a posting for a given field.<\/li>\n<li>New query type was introduced -AutomatonQuery which returns all documents with at least one term returned by the finite-state automaton.<\/li>\n<li>And many, many more&#8230;<\/li>\n<\/ul>\n<\/li>\n<li>Solr\n<ul>\n<li>Solr now contains <em>SolrCloud<\/em> which basicaly enables distributed indexing and searching with the use of Apache Solr. More information can be found on the following web sites: <a href=\"http:\/\/wiki.apache.org\/solr\/SolrCloud\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/wiki.apache.org\/solr\/SolrCloud<\/a> and <a href=\"http:\/\/blog.sematext.com\/2012\/02\/01\/solrcloud-distributed-realtime-search\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/blog.sematext.com\/2012\/02\/01\/solrcloud-distributed-realtime-search\/<\/a><\/li>\n<li>Transaction log has been introduced, which ensures that you&#8217;ll never loose your indexed documents.<\/li>\n<li>Real-time Get has been introduced, which allows to retrieve documents without the need of commit or new Searcher opening (<a href=\"http:\/\/solr.pl\/en\/2012\/01\/09\/solr-4-0-realtime-get-2\/\">more information<\/a>).<\/li>\n<li><em>DirectSolrSpellChecker<\/em> has been introduced &#8211; a new SpellChecker that doesn&#8217;t require a separate index (<a href=\"http:\/\/solr.pl\/en\/2012\/04\/30\/solr-4-0-directsolrspellchecker-2\/\">more information<\/a>).<\/li>\n<li>New admin GUI with support for <em>SolrCloud<\/em>.<\/li>\n<li>Ability to change existing document fields without the need of reindexing the whole document &#8211; so called <em>Atomic updates<\/em>.<\/li>\n<li>Ability to alter fields during query (<a href=\"http:\/\/solr.pl\/en\/2011\/11\/22\/solr-4-0-new-fl-parameter-functionalities-first-look\/\">more information<\/a>).<\/li>\n<li>And many more&#8230;<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p>The full list of changes in Apache Lucene <strong>4.0 alpha<\/strong> is available at the following URL address: <a href=\"http:\/\/wiki.apache.org\/lucene-java\/ReleaseNote40alpha\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/wiki.apache.org\/lucene-java\/ReleaseNote40alpha<\/a>. The full list of changes in Apache Solr <strong>3.6<\/strong> can be found at the following URL address: <a href=\"http:\/\/wiki.apache.org\/solr\/ReleaseNote40alpha\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/wiki.apache.org\/solr\/ReleaseNote40alpha<\/a>.<\/p>\n<p>Apache Lucene <strong>4.0 alpha<\/strong> library can be downloaded from the following address: <a href=\"http:\/\/www.apache.org\/dyn\/closer.cgi\/lucene\/java\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.apache.org\/dyn\/closer.cgi\/lucene\/java\/<\/a>. Apache Solr <strong>4.0 alpha<\/strong> can be downloaded at the following URL address: <a href=\"http:\/\/www.apache.org\/dyn\/closer.cgi\/lucene\/solr\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/www.apache.org\/dyn\/closer.cgi\/lucene\/solr\/<\/a>. Please remember that the mirrors are just starting to update so not all of them will contain the <strong>4.0 alpha <\/strong>version of Lucene and Solr.<\/p>","protected":false},"excerpt":{"rendered":"<p>Today Apache Lucene and Solr PMC announced the release of&nbsp;4.0 alpha version of Apache Lucene library and Apache Solr search server. When comparing to the 3.6 there were some major changes introduced about which you can read in the rest<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[26,27],"tags":[162,257,164],"class_list":["post-466","post","type-post","status-publish","format-standard","hentry","category-lucene-en","category-solr-en","tag-lucene-2","tag-release-2","tag-solr-2"],"_links":{"self":[{"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/posts\/466","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/comments?post=466"}],"version-history":[{"count":1,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":467,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/posts\/466\/revisions\/467"}],"wp:attachment":[{"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/media?parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/categories?post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/solr.pl\/en\/wp-json\/wp\/v2\/tags?post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}