From 6ecc5168aa0ffb1703756039eb772677cf28923b Mon Sep 17 00:00:00 2001 From: Denny Lubitz Date: Fri, 24 Mar 2023 11:34:13 +0100 Subject: [PATCH] TASK: Replace links to elastic documentation --- Classes/Annotations/Mapping.php | 26 +++++++++++++------------- Classes/Domain/Model/Index.php | 2 +- Classes/Domain/Model/Mapping.php | 2 +- 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/Classes/Annotations/Mapping.php b/Classes/Annotations/Mapping.php index 454f82d..e788c22 100644 --- a/Classes/Annotations/Mapping.php +++ b/Classes/Annotations/Mapping.php @@ -24,7 +24,7 @@ final class Mapping * Defaults to the property/field name. * * @var string - * @see http://www.elasticsearch.org/guide/reference/mapping/core-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html */ public $index_name; @@ -33,7 +33,7 @@ final class Mapping * Defaults to `no` (note, the JSON document itself is stored, and it can be retrieved from it). * * @var string - * @see http://www.elasticsearch.org/guide/reference/mapping/core-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html */ public $store; @@ -44,7 +44,7 @@ final class Mapping * Defaults to analyzed. * * @var string - * @see http://www.elasticsearch.org/guide/reference/mapping/core-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html */ public $index; @@ -52,7 +52,7 @@ final class Mapping * Possible values are `no`, `yes`, `with_offsets`, `with_positions`, `with_positions_offsets`. * Defaults to `no`. * - * @see http://www.elasticsearch.org/guide/reference/mapping/core-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html * @var string */ public $term_vector; @@ -61,7 +61,7 @@ final class Mapping * The boost value. Defaults to `1.0`. * * @var float - * @see http://www.elasticsearch.org/guide/reference/mapping/boost-field.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/7.5/mapping-boost.html */ public $boost; @@ -70,7 +70,7 @@ final class Mapping * Defaults to the globally configured analyzer. * * @var string - * @see http://www.elasticsearch.org/guide/reference/mapping/core-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-params.html */ public $analyzer; @@ -78,7 +78,7 @@ final class Mapping * The normalizer used to normalizer the content of keyword type fields during indexing. * * @var string - * @see https://www.elastic.co/guide/en/elasticsearch/reference/master/normalizer.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/normalizer.html */ public $normalizer; @@ -86,7 +86,7 @@ final class Mapping * The analyzer used to analyze the text contents only when searching using a query string. * * @var string - * @see https://www.elastic.co/guide/en/elasticsearch/reference/5.6/search-analyzer.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/search-analyzer.html */ public $search_analyzer; @@ -95,7 +95,7 @@ final class Mapping * Defaults to the property/field type. * * @var string - * @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-types.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html */ public $type; @@ -104,25 +104,25 @@ final class Mapping * Defaults to `dateOptionalTime`. * * @var string - * @see http://www.elasticsearch.org/guide/reference/mapping/date-format.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-date-format.html */ public $format; /** * @var array - * @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/1.x/_multi_fields.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-types.html#types-multi-fields */ public $fields; /** * @var array - * @see https://www.elastic.co/guide/en/elasticsearch/reference/5.6/properties.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/properties.html */ public $properties; /** * @var bool - * @see https://www.elastic.co/guide/en/elasticsearch/reference/5.4/fielddata.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/text.html#fielddata-mapping-param */ public $fielddata; diff --git a/Classes/Domain/Model/Index.php b/Classes/Domain/Model/Index.php index 7923afb..a603df4 100644 --- a/Classes/Domain/Model/Index.php +++ b/Classes/Domain/Model/Index.php @@ -26,7 +26,7 @@ class Index { /** * @var array - * @see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html + * @see https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-update-settings.html */ static protected $updatableSettings = [ 'index.number_of_replicas', diff --git a/Classes/Domain/Model/Mapping.php b/Classes/Domain/Model/Mapping.php index a32392a..9d55fca 100644 --- a/Classes/Domain/Model/Mapping.php +++ b/Classes/Domain/Model/Mapping.php @@ -35,7 +35,7 @@ class Mapping protected $properties = []; /** - * see http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-root-object-type.html#_dynamic_templates + * see https://www.elastic.co/guide/en/elasticsearch/reference/current/dynamic-templates.html * @var array */ protected $dynamicTemplates = [];