Skip to content

Commit

Permalink
Add boosting on parallelSubjectLiteral
Browse files Browse the repository at this point in the history
  • Loading branch information
danamansana committed Jan 31, 2025
1 parent 062eac6 commit 6c68275
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/elastic-query-builder.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,14 @@ describe('ElasticQueryBuilder', () => {
}
}
})
expect(query.bool.should[1]).to.deep.equal({
term: {
'parallelSubjectLiteral.raw': {
value: 'toast',
boost: 50
}
}
})
})
})

Expand Down

0 comments on commit 6c68275

Please sign in to comment.