From f0a46db39f8b99ce2f3a549e50a7e2e3e7d7c055 Mon Sep 17 00:00:00 2001 From: j Date: Sun, 17 Nov 2019 16:34:26 +0100 Subject: [PATCH 1/2] script to install elasticsearch --- vm/install_elasticsearch.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 vm/install_elasticsearch.sh diff --git a/vm/install_elasticsearch.sh b/vm/install_elasticsearch.sh new file mode 100755 index 00000000..87e7a0ba --- /dev/null +++ b/vm/install_elasticsearch.sh @@ -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" From 923ed5bf83f505a2c4adcbff10991425678c5566 Mon Sep 17 00:00:00 2001 From: j Date: Mon, 18 Nov 2019 18:08:33 +0100 Subject: [PATCH 2/2] keywords already used, use tag instead --- pandora/config.0xdb.jsonc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pandora/config.0xdb.jsonc b/pandora/config.0xdb.jsonc index 343c44b0..8440de9a 100644 --- a/pandora/config.0xdb.jsonc +++ b/pandora/config.0xdb.jsonc @@ -711,8 +711,8 @@ "find": true }, { - "id": "keywords", - "title": "Keywords", + "id": "tags", + "title": "Tags", "type": "layer", "autocomplete": true, "filter": true, @@ -1007,10 +1007,10 @@ */ "layers": [ { - "id": "keywords", - "title": "Keywords", + "id": "tags", + "title": "Tags", "canAddAnnotations": {"member": true, "staff": true, "admin": true}, - "item": "Keyword", + "item": "Tag", "autocomplete": true, "overlap": true, "type": "string"