The primary goal of the Spring Data project is to make it easier to build Spring-powered applications that use new data access technologies such as non-relational databases, map-reduce frameworks, and cloud based data services.
The Spring Data for Apache Solr project provides integration with the Apache Solr search engine
Providing its own extensible MappingSolrConverter as alternative to DocumentObjectBinder Spring Data for Apache Solr handles inheritance as well as usage of custom Types such as Point or DateTime
- High level repository abstractions with multicore support
- Annotations for Boost-, Facet- and Highlighting
- Customizable type mappings and type conversions
- Solr template supporting fluent query api
- Exception translation to Spring’s portable Data Access exception hierarchy
Maven configuration
Add the Maven dependency:
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-solr</artifactId>
<version>${version}.RELEASE</version>
</dependency>
Having trouble with Spring Data? We’d love to help!
Check the reference documentation, and Javadocs.
Learn the Spring basics – Spring Data builds on Spring Framework, check the spring.io web-site for a wealth of reference documentation. If you are just starting out with Spring, try one of the guides.
Examples
Spring Data Examples contains example projects that explain specific features in more detail.
License
Spring Data for Apache Solr is Open Source software released under the Apache 2.0 license.