Home
last modified time | relevance | path

Searched refs:index (Results 501 – 525 of 1806) sorted by last modified time

1...<<21222324252627282930>>...73

/plugin/elasticsearch/helper/
H A Dclient.php87 * 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 Dindex-operations.asciidoc9 ==== 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 Dsearch-operations.asciidoc34 '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 DResumeFollow.php34 $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 DHealth.php33 $index = $this->index ?? null;
35 if (isset($index)) {
36 return "/_cluster/health/$index";
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/src/Elasticsearch/Endpoints/
H A DExplain.php40 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 DFieldCaps.php33 $index = $this->index ?? null;
35 if (isset($index)) {
36 return "/$index/_field_caps";
H A DGet.php40 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 DIndex.php24 * 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 DMsearch.php41 $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 DREADME.md43 + [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 DAsyncSearchNamespace.asciidoc76 $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 DClusterNamespace.asciidoc47 $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 DDanglingIndicesNamespace.asciidoc33 $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 DMigrationNamespace.asciidoc31 $params['index'] = (string) Index pattern
H A DMlNamespace.asciidoc786 $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 DNodesNamespace.asciidoc83 $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 DSnapshotNamespace.asciidoc139 $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 DDelete.php34 $index = $this->index ?? null;
36 if (isset($index)) {
37 return "/$index";
H A DDiskUsage.php34 $index = $this->index ?? null;
36 if (isset($index)) {
37 return "/$index/_disk_usage";
H A DFieldUsageStats.php34 $index = $this->index ?? null;
36 if (isset($index)) {
37 return "/$index/_field_usage_stats";
H A DGetAlias.php35 $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 DGetFieldMapping.php41 $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 DGetMapping.php33 $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 DGetSettings.php34 $index = $this->index ?? null;
37 if (isset($index) && isset($name)) {
38 return "/$index/_settings/$name";
40 if (isset($index)) {
41 return "/$index/_settings";

1...<<21222324252627282930>>...73