diff --git a/server/opensearch/os-handler.js b/server/opensearch/os-handler.js index 15eddea83..66e76cc50 100644 --- a/server/opensearch/os-handler.js +++ b/server/opensearch/os-handler.js @@ -204,7 +204,7 @@ async function OpenSearchSearchHandler(req, res) { : process.env.BODY_SHOP_ID_MATCH_OVERRIDE; const { body } = await osClient.search({ - ...(index ? { index } : {}), + ...(index ? { index } : { index: ["jobs", "vehicles", "owners", "bills", "payments"] }), body: { size: 100, query: { @@ -248,8 +248,8 @@ async function OpenSearchSearchHandler(req, res) { "*ownr_fn^8", "*ownr_co_nm^8", "*ownr_ph1^8", - "*ownr_ph2^8", - "*" + "*ownr_ph2^8" + // "*" ] } }