We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e23709 commit 5f2c8bfCopy full SHA for 5f2c8bf
scripts/nlp-setup
@@ -327,6 +327,16 @@ else
327
echo "done."
328
fi
329
330
+# Set hybrid search as default search pipeline
331
+echo -ne "Setting hybrid search as default search pipeline... "
332
+curl -s -o /dev/null \
333
+ -X PUT "$OS_URL/$NLP_INDEX/_settings" \
334
+ -H "Content-Type: application/json" \
335
+ -d '{
336
+ "index.search.default_pipeline": "nlp-search-pipeline"
337
+ }'
338
+echo "done."
339
+
340
# Ask user if they want to begin reindexing
341
kw_count=$(curl -s -X GET "$OS_URL/$KW_INDEX/_count" | jq -r '.count')
342
nlp_count=$(curl -s -X GET "$OS_URL/$NLP_INDEX/_count" | jq -r '.count')
0 commit comments