Spring Data Solr is on top of SolrJ api, though it uses it's own
data/object mapper.

The advantages of Spring Data Solr is that it can automatically
generate queries from the method names. That approach works well for
databases with structured content, but somewhat less for Solr with
unstructured. Also, there are some limitations around content that's
not actual documents (e.g. having facets information as well as paging
as well as spelling, etc).

Where Spring Data Solr is great is if you buy into the Spring Boot
ecosystem. Then you have a nearly-seamless handover between web
interface and Solr. I was able to build a basic end-to-end
autocomplete web interface with Spring Boot in around 3 hours.
https://github.com/arafalov/Solr-Javadoc/tree/master/SearchServer

I suspect if you already have a working SolrJ solution, moving to
Spring Boot will not pay off. But if you are starting a new project,
it is something worth checking out.

Hope this helps,
   Alex.

----
Sign up for my Solr resources newsletter at http://www.solr-start.com/


On 9 February 2015 at 16:13, Rajesh Hazari <rajeshhaz...@gmail.com> wrote:
> Hi folks,
>
> We are using solrj api at large to index and query, wondering if any one
> have already used any version of spring data solr and what are the
> advantages over solrj api?
>
> We are exploring other new technologies or updates around solr.
>
> *Rajesh.*

Reply via email to