SolrJ

Apache Solr with Java: Result Grouping with Solrj

Reading Time: 4 minutes This blog is a detailed, step-by-step guide on implementing group by field in Apache Solr using Solrj. Note: Grouping is different from Faceting in Apache Solr. While grouping returns the documents grouped by the specified field, faceting returns the count of documents for each of the different values for the specified field. However you can combine grouping and faceting in Solr. This blog talks about grouping without the Continue Reading

Solr with Java: A basic hands-on with SolrJ

Reading Time: 2 minutes What is Apache Solr: Apache Solr is a search sever that includes the full-text search engine called Apache Lucene. It takes the piece of information (called documents) that are indexed according to the cores. When a query is performed, solr goes through the index and return the matching documents. Now let’s start the hands-on. Step 1: Install Solr from the following link. Step 2: Start Continue Reading

Solr With Scala : Basic Introduction to Embedded Solr

Reading Time: 2 minutes Hello Folks, As we discussed earlier Solr with Scala and AkkaHttp in our last blog we have used Solr as a service and tried to hit solr service with the AkkaHttp and spray routes. Here is the link for the Recap. When we want to do testing for those methods which are creating connection with the remote solr server, have to use Embedded Solr for Continue Reading

Solr With Scala: Rest End Points with AKKA HTTP

Reading Time: < 1 minute Hello Folks, Today we will discuss about Solr, Scala with Akka-HTTP. We will create rest-endpoints and try to connect with Solr server with them. The basic idea behind using Akka-HTTP for creating Rest end points is modules implement a full server and client-side HTTP stack on top of akka-actor and akka-stream. We can customize these routes according to our use case. We will talk step Continue Reading

Solr Relevance Search Using SolrJ In Scala

Reading Time: 3 minutes In this blog we will see how we can perform relevance(or relevant) search in solr using solrj Http API in scala . To give brief what is relevance search : – A developer working on search relevancy focuses on the following areas as the “first line of defense”: Text Analysis: the act of “normalizing” text from both a search query and a search result to Continue Reading