Apache Solr

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Solr
Solr logo
Developer(s) Apache Software Foundation
Stable release 4.10.1 / September 28, 2014; 3 days ago (2014-09-28)
Development status Active
Written in Java
Operating system Cross-platform
Type Search and index API
License Apache License 2.0
Website lucene.apache.org/solr/

Solr (pronounced "solar") is an open source enterprise search platform from the Apache Lucene project. Its major features include full-text search, hit highlighting, faceted search, dynamic clustering, database integration, and rich document (e.g., Word, PDF) handling. Providing distributed search and index replication, Solr is highly scalable.[1] Solr is the most popular enterprise search engine.[2] Solr 4 adds NoSQL features.[3]

Solr is written in Java and runs as a standalone full-text search server within a servlet container such as Apache Tomcat or Jetty. Solr uses the Lucene Java search library at its core for full-text indexing and search, and has REST-like HTTP/XML and JSON APIs that make it usable from most popular programming languages. Solr's powerful external configuration allows it to be tailored to many types of application without Java coding, and it has a plugin architecture to support more advanced customization.

Apache Lucene and Apache Solr are both produced by the same Apache Software Foundation development team since the two projects were merged in 2010. It is common to refer to the technology or products as Lucene/Solr or Solr/Lucene.

History[edit]

In 2004, Solr was created by Yonik Seeley at CNET Networks as an in-house project to add search capability for the company website. Yonik Seeley along with Grant Ingersoll and Erik Hatcher went on to launch LucidWorks (formerly Lucid Imagination), a company providing commercial support, consulting and training for Apache Solr search technologies.

In January 2006, CNET Networks decided to openly publish the source code by donating it to the Apache Software Foundation under the Lucene top-level project.[4] Like any new project at Apache Software Foundation it entered an incubation period which helped solve organizational, legal, and financial issues.

In January 2007, Solr graduated from incubation status and grew steadily with accumulated features, thereby attracting a robust community of users, contributors, and committers. Although quite new as a public project, it powers several high-traffic websites.[5]

In September 2008, Solr 1.3 was released with many enhancements including distributed search capabilities and performance enhancements among many others.[6]

November 2009 saw the release of Solr 1.4. This version introduces enhancements in indexing, searching and faceting along with many other improvements such as Rich Document processing (PDF, Word, HTML), Search Results clustering based on Carrot2 and also improved database integration. The release also features many additional plug-ins.[7]

In March 2010, the Lucene and Solr projects merged. Separate downloads will continue, but the products are now jointly developed by a single set of committers.

In 2011 the Solr version number scheme was changed in order to match that of Lucene. After Solr 1.4, the next release of Solr was labeled 3.1, in order to keep Solr and Lucene on the same version number.[8]

In October 2012 Solr version 4.0 was released, including the new SolrCloud feature.[9]

2013 has seen a number of Solr releases already, including 4.1 in January, 4.2 in March, 4.2.1 in April and 4.3.0 in May, including many improvements in the Solr Cloud features such as custom sharding.

Features[edit]

  • Uses the Lucene library for full-text search
  • Faceted navigation
  • Hit highlighting
  • Query language supports structured as well as textual search
  • JSON, XML, PHP, Ruby, Python, XSLT, Velocity and custom Java binary output formats over HTTP
  • HTML administration interface
  • Replication to other Solr servers - enables scaling QPS
  • Distributed Search through Sharding - enables scaling content volume
  • Search results clustering based on Carrot2
  • Extensible through plugins
  • Flexible relevance - boost through function queries
  • Caching - queries, filters, and documents
  • Embeddable in a Java Application
  • Geo-spatial search
  • Automated management of large clusters through ZooKeeper
  • More function queries
  • Field Collapsing [10]
  • A new auto-suggest component

Community and future[edit]

Solr has an active development community, both individuals and companies, who contribute new features and bug fixes. [11] [12] [13] [14] [15]

Integrating Solr[edit]

There are many community projects for integrating Solr with many programming languages and environments.

Language Name
Ruby Ruby Response Format[16]
rsolr[17]
Solr's efficient binary javabin[18]
PHP Solr's PHP response format[19]
SolrPhpClient[20]
Apache Solr PHP Extension[21]
Solarium[22]
Java SolrJ[23]
Scala scalikesolr[24]
Python solrpy[25]
PySolr[26]
insol[27]
sunburnt[28][29]
txSolr[30]
mySolr[31]
JSON JSON Query Response Format[32]
.NET SolrSharp (C#)[33]
SolrContrib (C#)[34]
EasyNet Solr[35]
Deveel Solr Client[36][dead link]
SolrNet[37]
Perl SolPerl[38]
Solr.pm[39]
JavaScript AJAX Solr[40]
Solr Search[41]
TYPO3 built-in integration

See also[edit]

References[edit]

Bibliography[edit]

External links[edit]