server/src/app/Console/Commands/IndexDocuments.php
changeset 320 0fce13da58af
parent 308 e032d686d88e
child 321 aefaad270b9b
equal deleted inserted replaced
319:78990a8a069b 320:0fce13da58af
    63 
    63 
    64         $indexParams['body'] = [
    64         $indexParams['body'] = [
    65             'settings' => [
    65             'settings' => [
    66                 'number_of_shards' => config('elasticsearch.shards'),
    66                 'number_of_shards' => config('elasticsearch.shards'),
    67                 'number_of_replicas' => config('elasticsearch.replicas'),
    67                 'number_of_replicas' => config('elasticsearch.replicas'),
    68                 'index.mapping.ignore_malformed' => True
    68                 'index.mapping.ignore_malformed' => True,
       
    69                 'index.requests.cache.enable' => True
    69             ],
    70             ],
    70             'mappings' => [
    71             'mappings' => [
    71                 'document' => [
    72                 'document' => [
    72                     'properties' => [
    73                     'properties' => [
    73                         'title' => [
    74                         'title' => [