Finishing touches
This commit is contained in:
parent
e94ef6a7a5
commit
7cb31bb8d8
2 changed files with 3 additions and 3 deletions
|
@ -49,7 +49,7 @@ def index():
|
||||||
"chips": {
|
"chips": {
|
||||||
"significant_terms": {
|
"significant_terms": {
|
||||||
"field": "body",
|
"field": "body",
|
||||||
"mutual_information": {"include_negatives": True},
|
"mutual_information": {},
|
||||||
"size": 40,
|
"size": 40,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<div class="chips">
|
<div class="chips">
|
||||||
<div v-for="chip in chips" v-bind:key="chip.key" class="chip" @click="appendToQuery(chip.key)">
|
<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>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -164,7 +164,7 @@ export default class ResultBody extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
appendToQuery(value) {
|
appendToQuery(value) {
|
||||||
this.$emit("input", `${this.value} AND ${value}`);
|
this.$emit("input", `${this.value} +${value}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
async switchPage(page) {
|
async switchPage(page) {
|
||||||
|
|
Loading…
Reference in a new issue