From 7cb31bb8d8c5cb7c9e88e39f248039e6dc42229d Mon Sep 17 00:00:00 2001 From: Sijmen Schoon Date: Mon, 29 Oct 2018 01:03:03 +0100 Subject: [PATCH] Finishing touches --- backend/app.py | 2 +- frontend/src/components/ResultBody.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/app.py b/backend/app.py index 2eb84dd..f277de5 100644 --- a/backend/app.py +++ b/backend/app.py @@ -49,7 +49,7 @@ def index(): "chips": { "significant_terms": { "field": "body", - "mutual_information": {"include_negatives": True}, + "mutual_information": {}, "size": 40, }, } diff --git a/frontend/src/components/ResultBody.vue b/frontend/src/components/ResultBody.vue index 9d51ae7..43d5394 100644 --- a/frontend/src/components/ResultBody.vue +++ b/frontend/src/components/ResultBody.vue @@ -2,7 +2,7 @@
- {{chip.key}} ({{chip.count}}) + {{chip.key}}
@@ -164,7 +164,7 @@ export default class ResultBody extends Vue { } appendToQuery(value) { - this.$emit("input", `${this.value} AND ${value}`); + this.$emit("input", `${this.value} +${value}`); } async switchPage(page) {