diff --git a/src/endpoints/transcriptomics/index.ts b/src/endpoints/transcriptomics/index.ts index bb29f38..0f8855d 100644 --- a/src/endpoints/transcriptomics/index.ts +++ b/src/endpoints/transcriptomics/index.ts @@ -212,14 +212,14 @@ export const checkGenesExist = async (genes: string[]): Promise = const client = EsInstance.getInstance(); const { body } = await client.search({ - index: esSampleGeneExpIndex, + index: esDiffGeneExpIndex, body: { query: { bool: { should: [ { terms: { - symbol: genes, + gene_symbol: genes, }, }, {