Skip to content

Commit cdeb83a

Browse files
authored
Merge pull request #3565 from ClickHouse/Blargian-patch-11
Fix run_indexer.sh
2 parents fbbbf71 + f23801c commit cdeb83a

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

scripts/search/run_indexer.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,12 @@ else
3838
fi
3939

4040
BASE_DIRECTORY_ARG="$BASE_DIRECTORY"
41-
SUB_DIRECTORIES="docs,knowledgebase"
4241
DRY_RUN=false
4342

4443
# allows us to override params if needed
4544
while [[ "$#" -gt 0 ]]; do
4645
case $1 in
4746
-d|--base_directory) BASE_DIRECTORY_ARG="$2"; shift ;;
48-
-s|--sub_directories) SUB_DIRECTORIES="$2"; shift ;;
4947
-x|--dry_run) DRY_RUN=true ;;
5048
*) echo "Unknown parameter passed: $1"; exit 1 ;;
5149
esac
@@ -56,7 +54,6 @@ done
5654
echo "Running the Python script..."
5755
python "$PYTHON_SCRIPT" \
5856
--base_directory "$BASE_DIRECTORY_ARG" \
59-
--sub_directories "$SUB_DIRECTORIES" \
6057
$( [ "$DRY_RUN" = true ] && echo "--dry_run" ) \
6158
--algolia_app_id "$ALGOLIA_APP_ID" \
6259
--algolia_api_key "$ALGOLIA_API_KEY"

0 commit comments

Comments
 (0)