Skip to content

Latest commit

 

History

History
40 lines (23 loc) · 916 Bytes

README.md

File metadata and controls

40 lines (23 loc) · 916 Bytes

Exploring Solr using Spring Data Solr


Steps to run this application:

  1. Download and install Solr in local

  2. Start Solr

    $ ./solr start

    Solr Admin Dashboard link for local:

    http:https://localhost:8983/solr/#/

  3. Create a new Core/Collection:

    $ ./solr create -c productscatalog
  4. This app uses MySQL DB. Command to run MySQL Docker container in local:

    $ docker run --name mysqldb -e MYSQL_ROOT_PASSWORD=password -v $HOME/mysql-data:/var/lib/mysql -p 3306:3306 -d mysql
  5. Run the Spring Boot application

  6. Some pre-configured data gets loaded in DB as well as in Solr after the start-up

    simple_product_catalog.csv contains the pre-configured data