From 191ef25dded410448e0871bcadb4b46c7bc47199 Mon Sep 17 00:00:00 2001 From: Jarrod Baker Date: Fri, 7 Oct 2022 14:50:42 +0100 Subject: [PATCH] Update Elasticsearch index name to correct value. This was changed by work in the genetics output support repository. --- app/components/elasticsearch/ElasticsearchComponent.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/elasticsearch/ElasticsearchComponent.scala b/app/components/elasticsearch/ElasticsearchComponent.scala index 2c7cacb..b0f238e 100644 --- a/app/components/elasticsearch/ElasticsearchComponent.scala +++ b/app/components/elasticsearch/ElasticsearchComponent.scala @@ -54,7 +54,7 @@ object GeneticsApiQueries { case Right(v) => v.id case _ => term } - search("variant_*") query boolQuery.should(termQuery("variant_id.keyword", vToken), + search("variants") query boolQuery.should(termQuery("variant_id.keyword", vToken), termQuery("rs_id.keyword", term.toLowerCase) ) start p._1 limit p._2 trackTotalHits true }