fixed format
This commit is contained in:
parent
24c19169f2
commit
808fc57af9
|
@ -28,7 +28,6 @@ class ESConnector(object):
|
|||
self.index_host = ES_HOST
|
||||
self.client = Elasticsearch(hosts=self.index_host, timeout=600000)
|
||||
|
||||
|
||||
def query_after(self, query_string=None, start=0, i='propagation-after'):
|
||||
s = Search(using=self.client, index=i)
|
||||
if query_string is not None:
|
||||
|
|
|
@ -60,10 +60,11 @@
|
|||
<div class="input-group">
|
||||
<input type="text" class="form-control" v-model="query" placeholder="Your query terms..."
|
||||
aria-label="Your query terms..." aria-describedby="button-addon2">
|
||||
<select class="form-control col-md-3" aria-describedby="button-addon2" v-model="index" v-on:change="switch_index">
|
||||
<option v-bind:value="'propagation-after'">After propagation</option>
|
||||
<option v-bind:value="'propagation-before'">Before propagation</option>
|
||||
</select>
|
||||
<select class="form-control col-md-3" aria-describedby="button-addon2" v-model="index"
|
||||
v-on:change="switch_index">
|
||||
<option v-bind:value="'propagation-after'">After propagation</option>
|
||||
<option v-bind:value="'propagation-before'">Before propagation</option>
|
||||
</select>
|
||||
<div class="input-group-append">
|
||||
<button class="btn btn-outline-secondary" type="button" id="button-addon2"
|
||||
v-on:click="first_query">Search!</button>
|
||||
|
|
Loading…
Reference in New Issue