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 by step to development this Rest API after which you will able to run this API on your server and start hitting Rest end points.
Now we start coding :
We will start our implementation with the pom.xml file. We will keep all require dependencies in this file.
This is the part where we interact with the Solr. This code shows how we can can inert or update data and query for searching data from the Solr system.
This is the…
View original post 127 more words