/
README
24 lines (13 loc) · 1016 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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