Software:Apache Solr

From HandWiki
Short description: Open-source enterprise-search platform
Solr
Solr logo
Developer(s)Apache Software Foundation
RepositorySolr Repository
Written inJava
Operating systemCross-platform
TypeSearch and index API
LicenseApache License 2.0
Website{{{1}}}

Solr (pronounced "solar") is an open-source enterprise-search platform, written in Java. Its major features include full-text search, hit highlighting, faceted search, real-time indexing, dynamic clustering, database integration, NoSQL features[1] and rich document (e.g., Word, PDF) handling. Providing distributed search and index replication, Solr is designed for scalability and fault tolerance.[2] Solr is widely used for enterprise search and analytics use cases and has an active development community and regular releases.

Solr runs as a standalone full-text search server. It 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 external configuration allows it to be tailored to many types of applications without Java coding, and it has a plugin architecture to support more advanced customization.

Apache Solr is developed in an open, collaborative manner by the Apache Solr project at the Apache Software Foundation.

History

In 2004, Solr was created by Yonik Seeley at CNET Networks as an in-house project to add search capability for the company website.[3]

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

In January 2007, Solr graduated from incubation status into a standalone top-level project (TLP) and grew steadily with accumulated features, thereby attracting users, contributors, and committers. Although quite new as a public project, it powered several high-traffic websites.[5]

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

In January 2009, Yonik Seeley along with Grant Ingersoll and Erik Hatcher joined Lucidworks (formerly Lucid Imagination), the first company providing commercial support and training for Apache Solr search technologies.[citation needed] Since then, support offerings around Solr have been abundant.[7]

In November 2009, saw the release of Solr 1.4. This version introduced 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.[8]

In March 2010, the Lucene and Solr projects merged.[9] Separate downloads continued, but the products were 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.[10]

In October 2012, Solr version 4.0 was released, including the new SolrCloud feature.[11] 2013 and 2014 saw a number of Solr releases in the 4.x line, steadily growing the feature set and improving reliability.

In February 2015, Solr 5.0 was released,[12] the first release where Solr is packaged as a standalone application,[13] ending official support for deploying Solr as a war. Solr 5.3 featured a built-in pluggable Authentication and Authorization framework.[14]

In April 2016, Solr 6.0 was released.[15] Added support for executing Parallel SQL queries across SolrCloud collections. Includes StreamExpression support and a new JDBC Driver for the SQL Interface.

In September 2017, Solr 7.0 was released.[16] This release among other things, added support multiple replica types, auto-scaling, and a Math engine.

In March 2019, Solr 8.0 was released including many bugfixes and component updates.[17] Solr nodes can now listen and serve HTTP/2 requests. Be aware that by default, internal requests are also sent by using HTTP/2. Furthermore, an admin UI login was added with support for BasicAuth and Kerberos. And plotting math expressions in Apache Zeppelin is now possible.

In November 2020, Bloomberg donated the Solr Operator to the Lucene/Solr project. The Solr Operator helps deploy and run Solr in Kubernetes.

In February 2021, Solr was established as a separate Apache project (TLP), independent from Lucene.

In May 2022, Solr 9.0 was released,[18] as the first release independent from Lucene, requiring Java 11, and with highlights such as KNN "Neural" search, better modularization, more security plugins and more.

Operations

In order to search a document, Apache Solr performs the following operations in sequence:

  1. Indexing: converts the documents into a machine-readable format.
  2. Querying: understanding the terms of a query asked by the user. These terms can be images or keywords, for example.
  3. Mapping: Solr maps the user query to the documents stored in the database to find the appropriate result.
  4. Ranking: as soon as the engine searches the indexed documents, it ranks the outputs by their relevance.

Community

Solr has both individuals and companies who contribute new features and bug fixes.[19] [20][21][22][23]

Integrating Solr

Solr is bundled as the built-in search in many applications such as content management systems and enterprise content management systems. Hadoop distributions from Cloudera,[24] Hortonworks[25] and MapR all bundle Solr as the search engine for their products marketed for big data. DataStax DSE integrates Solr as a search engine with Cassandra.[26] Solr is supported as an end point in various data processing frameworks and Enterprise integration frameworks.[citation needed]

Solr exposes industry standard HTTP REST-like APIs with both XML and JSON support, and will integrate with any system or programming language supporting these standards. For ease of use there are also client libraries available for Java, C#, PHP, Python, Ruby and most other popular programming languages.[27]

See also

References

  1. "Solr 4 preview: SolrCloud, NoSQL, and more | SearchHub | Lucene/Solr Open Source Search". http://searchhub.org/2012/05/21/solr-4-preview/. 
  2. "Apache Solr -". apache.org. https://lucene.apache.org/solr/#intro. 
  3. Thuma, John (2018-08-09). "What is Apache Solr" (in en). https://johnthuma.medium.com/what-is-apache-solr-a18a60004e70. 
  4. "[SOLR-1 CNET code contribution - ASF JIRA"]. apache.org. http://issues.apache.org/jira/browse/SOLR-1. 
  5. "PublicServers - Solr Wiki". apache.org. http://wiki.apache.org/solr/PublicServers. 
  6. "Apache Solr -". apache.org. https://lucene.apache.org/solr/news.html#15%20September%202008%20-%20Solr%201.3.0%20Available. 
  7. "Support - Solr Wiki". apache.org. http://wiki.apache.org/solr/Support. 
  8. "Apache Solr -". apache.org. https://lucene.apache.org/solr/#10%20November%202009%20-%20Solr%201.4%20Released. 
  9. "[VOTE merge lucene/solr development (take 3) - Yonik Seeley - org.apache.lucene.general - MarkMail"]. markmail.org. http://lucene.markmail.org/thread/cmbek34vfycb6sfc. 
  10. Solr3.1 - Solr Wiki. Wiki.apache.org (2013-05-16). Retrieved on 2013-07-21.
  11. Apache Lucene. Lucene.apache.org. Retrieved on 2013-07-21.
  12. "Apache Solr - News". apache.org. https://lucene.apache.org/solr/news.html#20-february-2015-apache-solr-500-and-reference-guide-for-50-available. 
  13. "[SOLR-6733 Umbrella issue - Solr as a standalone application - ASF JIRA"]. apache.org. https://issues.apache.org/jira/browse/SOLR-6733. 
  14. "Solr 5.3 Release announcement". https://lucene.apache.org/solr/news.html#24-august-2015-apache-solr-530-and-reference-guide-for-53-available. 
  15. "Apache Solr - News". apache.org. https://lucene.apache.org/solr/news.html#8-april-2016-apache-solr-600-available. 
  16. "Apache Solr - News". https://lucene.apache.org/solr/news.html#20-september-2017-apache-solr-700-available. 
  17. "Apache Solr 8.0 Release notes". https://lucene.apache.org/solr/8_0_0/changes/Changes.html. 
  18. "12 May 2022, Apache Solr™ 9.0.0 available". https://solr.apache.org/news.html#apache-solrtm-900-available. 
  19. "Highest Voted 'solr' Questions". stackoverflow.com. https://stackoverflow.com/questions/tagged/solr?sort=votes. 
  20. "Lucene/Solr Revolution 2016". lucenerevolution.org. http://lucenerevolution.org/. 
  21. "SFBay Apache Lucene/Solr Meetup". meetup.com. http://www.meetup.com/SFBay-Lucene-Solr-Meetup/. 
  22. "Oslo Solr Community". meetup.com. http://www.meetup.com/Oslo-Solr-Community/. 
  23. "LinkedIn Solr Group". linkedin.com. http://www.linkedin.com/groups/Solr-1557747. 
  24. "Hadoop for Everyone: Inside Cloudera Search - Cloudera Engineering Blog". cloudera.com. 24 June 2013. http://blog.cloudera.com/blog/2013/06/hadoop-for-everyone-inside-cloudera-search/. 
  25. "Bringing Enterprise Search to Enterprise Hadoop - Hortonworks". hortonworks.com. 2 April 2014. http://hortonworks.com/blog/bringing-enterprise-search-enterprise-hadoop/. 
  26. "DataStax Enterprise: Cassandra with Solr Integration Details". datastax.com. 12 April 2012. http://www.datastax.com/dev/blog/datastax-enterprise-cassandra-with-solr-integration-details/. 
  27. "IntegratingSolr - Solr Wiki". apache.org. https://wiki.apache.org/solr/IntegratingSolr. 

Bibliography

External links