Finishing touches
This commit is contained in:
parent
e94ef6a7a5
commit
7cb31bb8d8
|
@ -49,7 +49,7 @@ def index():
|
|||
"chips": {
|
||||
"significant_terms": {
|
||||
"field": "body",
|
||||
"mutual_information": {"include_negatives": True},
|
||||
"mutual_information": {},
|
||||
"size": 40,
|
||||
},
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue