Finishing touches

This commit is contained in:
Sijmen 2018-10-29 01:03:03 +01:00
parent e94ef6a7a5
commit 7cb31bb8d8
2 changed files with 3 additions and 3 deletions

View File

@ -49,7 +49,7 @@ def index():
"chips": {
"significant_terms": {
"field": "body",
"mutual_information": {"include_negatives": True},
"mutual_information": {},
"size": 40,
},
}

View File

@ -2,7 +2,7 @@
<div class="body">
<div class="chips">
<div v-for="chip in chips" v-bind:key="chip.key" class="chip" @click="appendToQuery(chip.key)">
{{chip.key}} ({{chip.count}})
{{chip.key}}
</div>
</div>
@ -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) {