/solr-quickstart

This Maven archetype will speedup the creation of an Apache Solr project

Primary LanguageXSLTApache License 2.0Apache-2.0

Solr Quickstart Maven Archetype


The goal is to automate the creation of a search engine project based on Apache Solr, introducing also an optional infrastructure to execute acceptance tests.
Acceptance tests are executed with EasyB.

This project has been inspired by Relevancy Driven Development (https://github.com/rbramley/solr-rdd) by Robin Bramley and indeed the basic example story (BaseSearch.story) is part of Robin work.


-- HOW DOES IT WORKS:

* checkout the project
* mvn clean install (use Maven 3s)

once installed in your local repository just type:

* mvn archetype:generate -DarchetypeGroupId=net.devonlinux.solr -DarchetypeArtifactId=solr-quickstart-archetype -DarchetypeVersion=0.3-SNAPSHOT
or
* mvn archetype:generate -DarchetypeGroupId=net.devonlinux.solr -DarchetypeArtifactId=solr-quickstart-archetype-no-acceptance-tests -DarchetypeVersion=0.3-SNAPSHOT

it will create a solr project where you can modify schema.xml and solrconfig.xml

Optionally it also provides a sample acceptance test