Download the PDF Whitepaper You can clone this sample “Names Directory” Java application from GitHub git clone https://github.com/dchqinc/dchq-docker-java-solr-mongo-cassandra-example.git A Step by Step Guide for Dockerizing and Managing a Java application consisting of: Apache HTTP Server (httpd) and Nginx (for load balancing) JBoss, Tomcat and Jetty (as the application server) Solr (for the full-text search) Mongo, Cassandra, MySQL, and Oracle (for ...
Read More »Home »
Prefix and Suffix Matches in Solr
Search engines are all about looking up strings. The user enters a query term that is then retrieved from the inverted index. Sometimes a user is looking for a value that is only a substring of values in the index and the user might be interested in those matches as well. This is especially important for languages like German that ...
Read More »See Your Solr Cache Sizes: Eclipse Memory Analyzer
Solr uses different caches to prevent too much IO access and calculations during requests. When indexing doesn’t happen too frequently you can get huge performance gains by employing those caches. Depending on the structure of your index data and the size of the caches they can become rather large and use a substantial part of your heap memory. In this ...
Read More »Apache Solr real-time live index updates at scale with Apache Hadoop
Episode # 22 of the podcast was a talk with Patrick Hunt We talked about the new work that has gone into Apache Solr (upstream) that allows it to work on Apache Hadoop. Solr has support for writing and reading its index and transaction log files to the HDFS distributed filesystem. This does not use Hadoop Map-Reduce to process Solr data, ...
Read More »Getting started with Spring Data Solr
Spring Data Solr is an extension to the Spring Data project which aims to simplify the usage of Apache Solr in Spring applications. Please note that this is not an introduction into Spring (Data) or Solr. I assume you have at least some basic understanding of both technologies. Within the following post I will show how you can use Spring ...
Read More »Spring Data Solr Tutorial: Adding Custom Methods to All Repositories
If we are using Spring Data Solr in a real life software project, the odds are that sooner or later we will face a requirement which states that our application must be able to communicate with both a local Solr server and a SolrCloud. At the moment, fulfilling this requirement means that we have to add custom methods to all ...
Read More »Spring Data Solr Tutorial: Pagination
In the earlier parts of my Spring Data Solr tutorial, we have implemented a simple search function which is used to search the information of todo entries. The current implementation of our search function shows all search results in a single page. This is not a viable solution for most real life applications because the number of search results can ...
Read More »Spring Data Solr Tutorial: Sorting
When we are implementing a word search function, we typically want to sort the search results in descending order by using the relevancy of each search result. This is also the default behaviour of Solr. However, there are situations when it makes to sense to specify the sort order manually. One such situation is an implementation of a “regular” search ...
Read More »Spring Data Solr Tutorial: Dynamic Queries
Solr is often referred as a search server which we can use when we are implementing full-text search functions. However, it is often wise to leverage the performance of Solr when we are implementing a search function which takes its input from a search form. In this scenario, the executed search query depends from the received input. This means that ...
Read More »