diff --git a/app/Console/Commands/Indexer/IncrementalIndexer.php b/app/Console/Commands/Indexer/IncrementalIndexer.php index 0ec05d4..fe532a0 100644 --- a/app/Console/Commands/Indexer/IncrementalIndexer.php +++ b/app/Console/Commands/Indexer/IncrementalIndexer.php @@ -26,7 +26,7 @@ class IncrementalIndexer extends Command protected function promptForMissingArgumentsUsing(): array { return [ - 'mediaType' => ['The media type to index.', 'Valid values: anime, manga, characters, people'] + 'mediaType' => ['The media type to index.', 'Valid values: anime, manga'] ]; } @@ -171,7 +171,7 @@ class IncrementalIndexer extends Command 'failed' => $this->option('failed') ?? false ], [ - 'mediaType' => 'required|in:anime,manga,characters,people', + 'mediaType' => 'required|in:anime,manga', 'delay' => 'integer|min:1', 'resume' => 'bool|prohibited_with:failed', 'failed' => 'bool|prohibited_with:resume' diff --git a/container-setup.sh b/container-setup.sh index f47c076..3cc1f5c 100755 --- a/container-setup.sh +++ b/container-setup.sh @@ -34,7 +34,7 @@ display_help() { echo "stop Stop Jikan API" echo "validate-prereqs Validate pre-reqs installed (docker, docker-compose)" echo "execute-indexers Execute the indexers, which will scrape and index data from MAL. (Notice: This can take days)" - echo "index-incrementally Executes the incremental indexers for each media type. (anime, manga, characters, people)" + echo "index-incrementally Executes the incremental indexers for each media type. (anime, manga)" echo "" } @@ -171,7 +171,7 @@ case "$1" in ;; "index-incrementally") echo "Indexing..." - $DOCKER_COMPOSE_CMD -p "$DOCKER_COMPOSE_PROJECT_NAME" exec jikan_rest php /app/artisan indexer:incremental anime manga character people + $DOCKER_COMPOSE_CMD -p "$DOCKER_COMPOSE_PROJECT_NAME" exec jikan_rest php /app/artisan indexer:incremental anime manga echo "Indexing done!" *) echo "No command specified, displaying help" diff --git a/container_usage.md b/container_usage.md index 8de9b8d..f20e110 100644 --- a/container_usage.md +++ b/container_usage.md @@ -39,7 +39,7 @@ start Start Jikan API (mongodb, typesense, redis, jikan-api wor stop Stop Jikan API validate-prereqs Validate pre-reqs installed (docker, docker-compose) execute-indexers Execute the indexers, which will scrape and index data from MAL. (Notice: This can take days) -index-incrementally Executes the incremental indexers for each media type. (anime, manga, characters, people) +index-incrementally Executes the incremental indexers for each media type. (anime, manga) ``` ### Running the indexer with the script