Skip to content

Commit

Permalink
index name fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jdhayhurst authored Nov 21, 2024
1 parent 6e49218 commit 1dd1311
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/models/Backend.scala
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ class Backend @Inject() (implicit
variantIds: Option[Seq[String]],
sizeLimit: Option[Int]
): Future[Option[Loci]] = {
val indexName = getIndexOrDefault("credible_setn")
val indexName = getIndexOrDefault("credible_set")
val termsQuery = Map("studyLocusId.keyword" -> Seq(ids))
val retriever =
esRetriever
Expand All @@ -264,7 +264,7 @@ class Backend @Inject() (implicit

def getCredibleSet(ids: Seq[String]): Future[IndexedSeq[JsValue]] = {
val pag = Pagination.mkDefault
val indexName = getIndexOrDefault("credible_setn")
val indexName = getIndexOrDefault("credible_set")
val termsQuery = Map("studyLocusId.keyword" -> ids)
val retriever =
esRetriever
Expand Down

0 comments on commit 1dd1311

Please sign in to comment.