-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
26 lines (14 loc) · 1.86 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# in root pom.xml change <compilerVersion>17</compilerVersion> to 11
# to build rosette with jdk11 use
mvn -Denforcer.skip=true clean package
mvn -Denforcer.skip=true -Dmaven.test.skip=true -Dcheckstyle.skip clean install
# commands
mvn archetype:generate -DgroupId=com.entity.search -DartifactId=entity-search -DarchetypeArtifactId=maven-archetype-quickstart -DarchetypeVersion=1.4 -DinteractiveMode=false
java -Ddb.debug=t -Djetty.home=/tmp -jar bin/entity-search.jar server src/main/scripts/config/config.json
java -jar bin/entity-search.jar gi src/main/scripts/csv_to_json.groovy src/main/scripts/schemas/cities_csv_to_json.xml skiphdr=y ~/test-data/world-cities.csv ~/test-data/cities.json
java -jar bin/entity-search.jar gi src/main/scripts/csv_to_json.groovy src/main/scripts/schemas/person_csv_to_json.xml skiphdr=y ~/test-data/persons.csv ~/test-data/persons.json
java -jar bin/entity-search.jar gi src/main/scripts/csv_to_json.groovy src/main/scripts/schemas/articles_csv_to_json.xml skiphdr=y ./datasets/articles.txt ./datasets/articles.json
java -jar bin/entity-search.jar gi src/main/scripts/generic_indexer.groovy schema_file=src/main/scripts/schemas/cities_schema.xml /home/oo/test-data/cities.json /home/oo/test-data/indexes/cities mode=create
java -jar bin/entity-search.jar gi src/main/scripts/generic_indexer.groovy schema_file=src/main/scripts/schemas/persons_schema.xml ./datasets/persons.json /home/oo/test-data/indexes/persons mode=create
java -jar bin/entity-search.jar gi src/main/scripts/generic_indexer.groovy schema_file=src/main/scripts/schemas/persons_no_store_schema.xml ./datasets/persons.json /home/oo/test-data/indexes/persons_id mode=create
java -jar bin/entity-search.jar gi src/main/scripts/generic_indexer.groovy schema_file=src/main/scripts/schemas/articles_schema.xml ./datasets/articles.json /home/oo/test-data/indexes/articles mode=create