Skip to content

Commit

Permalink
feat: SJIP-1059 update es query
Browse files Browse the repository at this point in the history
  • Loading branch information
celinepelletier committed Oct 30, 2024
1 parent e5d2c9f commit d95ea83
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/endpoints/transcriptomics/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,14 +212,14 @@ export const checkGenesExist = async (genes: string[]): Promise<MatchedGene[]> =
const client = EsInstance.getInstance();

const { body } = await client.search({
index: esSampleGeneExpIndex,
index: esDiffGeneExpIndex,
body: {
query: {
bool: {
should: [
{
terms: {
symbol: genes,
gene_symbol: genes,
},
},
{
Expand Down

0 comments on commit d95ea83

Please sign in to comment.