Skip to content

christophstrobl/spring-data-solr-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Data Solr Showcase

This example shows basic usage concepts of Spring Data Solr.

The commit order from initial to latest guides you through:

  1. STEP 1: Initial setup and configuration.
  2. STEP 2: Custom Repository implementation for autocomplete.
  3. STEP 3: @Facet annotation as alternative to custom implementation.
  4. STEP 4: Highlighting of search terms in result.
  5. STEP 5: Type mapping for custom types.
  6. STEP 6: Use multicore support to enable automatic template configuration.

In order to run this example a 4+ Solr Server and Maven are required.

The application is meant to work with the example data provided by the Solr distribution.

Running Solr

:solr> cd example
:example> java -jar start.jar
:example> cd exampledocs
:exampledocs> java -jar post.jar *.xml

Access via localhost:8983/solr/

Running Showcase

:spring-data-solr-showcase> mvn spring-boot:run

Access via localhost:8080/search

About

Sample Spring MVC Application demonstrating usage of Spring Data Solr.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages