Skip to content

ES --> OS migration for Opensearch consolidation #152

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jan 9, 2025
Prev Previous commit
Next Next commit
Tweaks
  • Loading branch information
jmgasper committed Nov 7, 2024
commit e5d87d38d2d74b58968ec705d91610669258d264
2 changes: 1 addition & 1 deletion src/services/ResourceService.js
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ async function searchOS (mustQuery, perPage, page, sortCriteria) {
const osClient = await helper.getOSClient()
let docs
try {
docs = await osClient.search(osQuery).body
docs = await osClient.search(osQuery)
} catch (e) {
// Catch error when the ES is fresh and has no data
logger.info(`Query Error from ES ${JSON.stringify(e)}`)
Expand Down