Compare commits

..

2 commits

Author SHA1 Message Date
j
923ed5bf83 keywords already used, use tag instead 2019-11-18 18:08:33 +01:00
j
f0a46db39f script to install elasticsearch 2019-11-17 16:34:26 +01:00
2 changed files with 13 additions and 5 deletions

View file

@ -711,8 +711,8 @@
"find": true "find": true
}, },
{ {
"id": "keywords", "id": "tags",
"title": "Keywords", "title": "Tags",
"type": "layer", "type": "layer",
"autocomplete": true, "autocomplete": true,
"filter": true, "filter": true,
@ -1007,10 +1007,10 @@
*/ */
"layers": [ "layers": [
{ {
"id": "keywords", "id": "tags",
"title": "Keywords", "title": "Tags",
"canAddAnnotations": {"member": true, "staff": true, "admin": true}, "canAddAnnotations": {"member": true, "staff": true, "admin": true},
"item": "Keyword", "item": "Tag",
"autocomplete": true, "autocomplete": true,
"overlap": true, "overlap": true,
"type": "string" "type": "string"

8
vm/install_elasticsearch.sh Executable file
View file

@ -0,0 +1,8 @@
#!/bin/sh
curl -sL https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" > /etc/apt/sources.list.d/elasticsearch.list
apt-get update -qq
apt-get -y install elasticsearch
systemctl enable elasticsearch.service
systemctl start elasticsearch.service
#curl -X GET "http://localhost:9200/?pretty"