forked from OpenSextant/SolrTextTagger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDevNotes.txt
More file actions
10 lines (7 loc) · 707 Bytes
/
DevNotes.txt
File metadata and controls
10 lines (7 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
### Running EmbeddedSolrUpdater
export JAVA_OPTS="-Dsolr.solr.home=../Gazetteer/SolrHome -Dsolr.data.dir=/Volumes/Speedy/data"
./updateSolr.sh '/update?update.contentType=text/csv&optimize=true&separator=%09&trim=on&f.SOURCE_FEATURE_ID.map=1.0:1&f.SOURCE_NAME_ID.map=1.0:1' '/tag?build=true' < /Volumes/Speedy/Merged.txt
### Run tagger (not embedded)
curl -XPOST 'http://localhost:8983/solr/tag?overlaps=ALL&tagsLimit=5000&fl=*&wt=json&indent=2' -H 'Content-Type:text/plain' -d 'We drove to Byrds Creek. Then we'
or -d '@myfile.txt'
curl -XPOST 'http://localhost:8983/solr/tag?overlaps=NO_SUB&tagsLimit=5000&fl=id,name&wt=json&indent=2' -H 'Content-Type:text/plain' -d 'We drove to Byrds Creek. Then we'