|
|
@@ -31,7 +31,8 @@ class IndexOpenSearch extends Command
|
|
|
//
|
|
|
$service = app(OpenSearchService::class);
|
|
|
if ($service->count() === 0) {
|
|
|
- $this->call('opensearch:index-pali');
|
|
|
+ $this->call('opensearch:index-tipitaka', ['book' => 0, '--granularity' => 'all']);
|
|
|
+ $this->call('opensearch:index-term');
|
|
|
} else {
|
|
|
if (App::environment('local')) {
|
|
|
$this->info('data exist');
|