/plugin/elasticsearch/helper/ |
H A D | client.php | 87 * Create the index 89 * @param bool $clear rebuild index 94 $index = $client->getIndex($this->getConf('indexname')); 96 if ($index->create([], $clear)->hasError()) { 97 throw new \splitbrain\phpcli\Exception("Failed to create index!"); 100 if ($this->createMappings($index)->hasError()) { 132 * @param \Elastica\Index $index 135 protected function createMappings(\Elastica\Index $index): \Elastica\Response 187 return $mapping->send($index); 133 createMappings(\\Elastica\\Index $index) global() argument
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/ |
H A D | index-operations.asciidoc | 9 ==== Create an index 11 The index operations are all contained under a distinct namespace, separated 13 create a new index: 19 'index' => 'my_index' 22 // Create the index 27 You can specify any parameters that would normally be included in a new index 35 'index' => 'my_index', 58 // Create the index with mappings and settings now 64 ==== Create an index (advanced example) 66 This is a more complicated example of creating an index, showin [all...] |
H A D | search-operations.asciidoc | 34 'index' => 'my_index', 57 'index' => 'my_index', 92 'index' => 'my_index', 109 'index' => 'my_index', 160 'index' => 'my_index', 215 'index' => 'my_index', 244 Scrolling works by maintaining a "point in time" snapshot of the index which is 261 'index' => 'my_index',
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Ccr/ |
H A D | ResumeFollow.php | 34 $index = $this->index ?? null; 36 if (isset($index)) { 37 return "/$index/_ccr/resume_follow";
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Cluster/ |
H A D | Health.php | 33 $index = $this->index ?? null; 35 if (isset($index)) { 36 return "/_cluster/health/$index";
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/ |
H A D | Explain.php | 40 if (isset($this->index) !== true) { 42 'index is required for explain' 45 $index = $this->index; 52 return "/$index/$type/$id/_explain"; 54 return "/$index/_explain/$id";
|
H A D | FieldCaps.php | 33 $index = $this->index ?? null; 35 if (isset($index)) { 36 return "/$index/_field_caps";
|
H A D | Get.php | 40 if (isset($this->index) !== true) { 42 'index is required for get' 45 $index = $this->index; 52 return "/$index/$type/$id"; 54 return "/$index/_doc/$id";
|
H A D | Index.php | 24 * Elasticsearch API name index 34 if (isset($this->index) !== true) { 36 'index is required for index' 39 $index = $this->index; 47 return "/$index/$type/$id"; 50 return "/$index/_doc/$id"; 53 return "/$index/$type"; 55 return "/$index/_do [all...] |
H A D | Msearch.php | 41 $index = $this->index ?? null; 47 if (isset($index) && isset($type)) { 48 return "/$index/$type/_msearch"; 50 if (isset($index)) { 51 return "/$index/_msearch";
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/ |
H A D | README.md | 43 + [Index a document](#index-a-document) 47 + [Delete an index](#delete-an-index) 48 + [Create an index](#create-an-index) 100 [Full documentation can be found here.](https://www.elastic.co/guide/en/elasticsearch/client/php-api/current/index.html) Docs are stored within the repo under /docs/, so if you see a typo or problem, please submit a PR to fix it! 169 To index a document, we need to specify three pieces of information: index, id and a document body. This is done by 175 'index' => 'my_index', 180 $response = $client->index( [all...] |
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/build/Elasticsearch/Namespaces/ |
H A D | AsyncSearchNamespace.asciidoc | 76 $params['index'] = (list) A comma-separated list of index names to search; use `_all` or empty string to perform the operation on all indices
|
H A D | ClusterNamespace.asciidoc | 47 $params['body'] = (array) The index, shard, and primary flag to explain. Empty means 'explain the first unassigned shard' 134 $params['index'] = (list) Limit the information returned to a specific index 186 $params['create'] = (boolean) Whether the index template should only be added if new or can also replace an existing one (Default = false) 250 $params['index'] = (list) A comma-separated list of index names; use `_all` or empty string to perform the operation on all indices
|
H A D | DanglingIndicesNamespace.asciidoc | 33 $params['index_uuid'] = (string) The UUID of the dangling index 34 $params['accept_data_loss'] = (boolean) Must be set to true in order to delete the dangling index 49 $params['index_uuid'] = (string) The UUID of the dangling index 50 $params['accept_data_loss'] = (boolean) Must be set to true in order to import the dangling index
|
H A D | MigrationNamespace.asciidoc | 31 $params['index'] = (string) Index pattern
|
H A D | MlNamespace.asciidoc | 786 $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all) 958 $params['expand_wildcards'] = (enum) Whether source index expressions should get expanded to open or closed indices (default: open) (Options = open,closed,hidden,none,all)
|
H A D | NodesNamespace.asciidoc | 83 $params['index_metric'] = (list) Limit the information returned for `indices` metric to the specific index metrics. Isn't used if `indices` (or `all`) metric isn't specified.
|
H A D | SnapshotNamespace.asciidoc | 139 $params['verbose'] = (boolean) Whether to show verbose snapshot info or only show the basic info found in the repository index blob
|
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/Indices/ |
H A D | Delete.php | 34 $index = $this->index ?? null; 36 if (isset($index)) { 37 return "/$index";
|
H A D | DiskUsage.php | 34 $index = $this->index ?? null; 36 if (isset($index)) { 37 return "/$index/_disk_usage";
|
H A D | FieldUsageStats.php | 34 $index = $this->index ?? null; 36 if (isset($index)) { 37 return "/$index/_field_usage_stats";
|
H A D | GetAlias.php | 35 $index = $this->index ?? null; 37 if (isset($index) && isset($name)) { 38 return "/$index/_alias/$name"; 40 if (isset($index)) { 41 return "/$index/_alias";
|
H A D | GetFieldMapping.php | 41 $index = $this->index ?? null; 47 if (isset($index) && isset($type)) { 48 return "/$index/_mapping/$type/field/$fields"; 50 if (isset($index)) { 51 return "/$index/_mapping/field/$fields";
|
H A D | GetMapping.php | 33 $index = $this->index ?? null; 39 if (isset($index) && isset($type)) { 40 return "/$index/_mapping/$type"; 42 if (isset($index)) { 43 return "/$index/_mapping";
|
H A D | GetSettings.php | 34 $index = $this->index ?? null; 37 if (isset($index) && isset($name)) { 38 return "/$index/_settings/$name"; 40 if (isset($index)) { 41 return "/$index/_settings";
|