Explorar o código

add index-tipitaka index-term'

visuddhinanda hai 2 días
pai
achega
fb54d1d846
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      api-v13/app/Console/Commands/IndexOpenSearch.php

+ 2 - 1
api-v13/app/Console/Commands/IndexOpenSearch.php

@@ -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');