{"id":93,"date":"2024-04-29T17:48:26","date_gmt":"2024-04-29T17:48:26","guid":{"rendered":"https:\/\/www.rajeshkumar.xyz\/blog\/?p=93"},"modified":"2024-04-29T19:21:01","modified_gmt":"2024-04-29T19:21:01","slug":"what-is-apache-solr","status":"publish","type":"post","link":"https:\/\/www.rajeshkumar.xyz\/blog\/what-is-apache-solr\/","title":{"rendered":"What is Apache Solr?"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1023\" height=\"343\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-8.png\" alt=\"\" class=\"wp-image-94\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-8.png 1023w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-8-300x101.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-8-768x258.png 768w\" sizes=\"auto, (max-width: 1023px) 100vw, 1023px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Solr is a standalone enterprise search server with a REST-like API. You put documents in it (called &#8220;indexing&#8221;) via JSON, XML, CSV or binary over HTTP. You query it via HTTP GET and receive JSON, XML, CSV or binary results.<\/strong><\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"975\" height=\"623\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-14.png\" alt=\"\" class=\"wp-image-101\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-14.png 975w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-14-300x192.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-14-768x491.png 768w\" sizes=\"auto, (max-width: 975px) 100vw, 975px\" \/><\/figure>\n\n\n\n<p><strong>Apache Solr is an open-source search platform built on Apache Lucene, one of the most powerful and popular search software libraries. It is designed to handle a wide variety of data types and offers robust full-text search capabilities, making it suitable for large-scale search applications. Solr is highly scalable, allowing it to manage and index very large volumes of data efficiently.<\/strong><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">List of Solr Features<\/h2>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"372\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-9-1024x372.png\" alt=\"\" class=\"wp-image-95\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-9-1024x372.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-9-300x109.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-9-768x279.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-9.png 1210w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"369\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-10-1024x369.png\" alt=\"\" class=\"wp-image-96\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-10-1024x369.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-10-300x108.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-10-768x277.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-10.png 1310w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"400\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-11-1024x400.png\" alt=\"\" class=\"wp-image-97\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-11-1024x400.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-11-300x117.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-11-768x300.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-11.png 1221w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Apache Solr is a powerful, scalable, and feature-rich search platform built on Apache Lucene. It offers a variety of features designed to handle large volumes of text-centric data and return search results quickly and accurately. Here are some of the key features of Solr:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"544\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-12-1024x544.png\" alt=\"\" class=\"wp-image-98\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-12-1024x544.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-12-300x159.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-12-768x408.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-12.png 1152w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"558\" src=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-13-1024x558.png\" alt=\"\" class=\"wp-image-99\" srcset=\"https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-13-1024x558.png 1024w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-13-300x163.png 300w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-13-768x418.png 768w, https:\/\/www.rajeshkumar.xyz\/blog\/wp-content\/uploads\/2024\/04\/image-13.png 1102w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Full-Text Search<\/strong>: Solr supports high-performance full-text search, enabling complex querying on large volumes of text data.<\/li>\n\n\n\n<li><strong>Faceted Search<\/strong>: Solr provides powerful faceted search and navigation capabilities to allow users to refine search results by various attributes.<\/li>\n\n\n\n<li><strong>Hit Highlighting<\/strong>: Solr can highlight searched terms in the search results, making it easier for users to find relevant information in the document content.<\/li>\n\n\n\n<li><strong>Dynamic Clustering<\/strong>: Solr supports the grouping of search results into clusters based on the similarity of their content.<\/li>\n\n\n\n<li><strong>Database Integration<\/strong>: Solr can be integrated with databases through Data Import Handler (DIH), enabling indexing from various database sources.<\/li>\n\n\n\n<li><strong>Extensible Plugin Architecture<\/strong>: Solr supports custom plugins to extend its functionality, including new ways to index, transform, and query data.<\/li>\n\n\n\n<li><strong>Scalable and Distributed Search<\/strong>: SolrCloud offers distributed indexing and search capabilities, ensuring high availability and scalability.<\/li>\n\n\n\n<li><strong>Advanced Configurability<\/strong>: Solr allows comprehensive configurability of the indexing process, including tokenization, text analysis, and schema design.<\/li>\n\n\n\n<li><strong>Near Real-Time Indexing<\/strong>: Solr supports near real-time indexing, allowing new documents to be searchable almost immediately after they are added.<\/li>\n\n\n\n<li><strong>Rich Document Handling<\/strong>: Solr integrates with Apache Tika to support indexing and searching of rich document formats such as PDF, Microsoft Office, and more.<\/li>\n\n\n\n<li><strong>GeoSpatial Search<\/strong>: Solr supports location-based search and distance sorting, suitable for applications requiring geolocation capabilities.<\/li>\n\n\n\n<li><strong>Multi-Tenancy<\/strong>: Solr can be configured to support multiple search applications on a single platform, each with its configuration.<\/li>\n\n\n\n<li><strong>Security Features<\/strong>: Solr includes built-in security features like authentication, authorization, and encryption options to help secure search applications.<\/li>\n\n\n\n<li><strong>Admin UI<\/strong>: Solr comes with an advanced and user-friendly administration interface to manage, monitor, and control the Solr instances easily.<\/li>\n\n\n\n<li><strong>Metrics Reporting<\/strong>: Solr provides detailed metrics about its operation, which can be essential for monitoring and optimizing performance.<\/li>\n\n\n\n<li><strong>Flexible and Adaptable API<\/strong>: Solr offers robust APIs (HTTP\/XML, JSON, and Binary) that make it highly adaptable for a variety of frontend applications.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Solr is a standalone enterprise search server with a REST-like API. You put documents in it (called &#8220;indexing&#8221;) via JSON, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-93","post","type-post","status-publish","format-standard","hentry","category-apache-solr"],"_links":{"self":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/93","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/comments?post=93"}],"version-history":[{"count":2,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/posts\/93\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/media?parent=93"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/categories?post=93"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rajeshkumar.xyz\/blog\/wp-json\/wp\/v2\/tags?post=93"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}