Skip to content

Commit d9c1b77

Browse files
authored
Merge pull request #403 from dlubitz/task-docs-links
TASK: Replace links to elastic documentation
2 parents 2a7de69 + 0fcb832 commit d9c1b77

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Classes/Driver/Version6/IndexerDriver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public function document(string $indexName, NodeInterface $node, ElasticSearchDo
4747
'retry_on_conflict' => 3
4848
]
4949
],
50-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/5.0/docs-update.html
50+
// https://www.elastic.co/guide/en/elasticsearch/reference/5.0/docs-update.html
5151
[
5252
'script' => [
5353
'lang' => 'painless',
@@ -114,7 +114,7 @@ public function fulltext(NodeInterface $node, array $fulltextIndexOfNode, string
114114
'_id' => $closestFulltextNodeDocumentIdentifier
115115
]
116116
],
117-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-update.html
117+
// https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-update.html
118118
[
119119
// first, update the neos_fulltext_parts, then re-generate the neos_fulltext from all neos_fulltext_parts
120120
'script' => [

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ public function nodeType(string $nodeType): QueryBuilderInterface
127127
// on indexing, neos_type_and_supertypes contains the typename itself and all supertypes, so that's why we can
128128
// use a simple term filter here.
129129

130-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html
130+
// https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html
131131
return $this->queryFilter('term', ['neos_type_and_supertypes' => $nodeType]);
132132
}
133133

@@ -209,7 +209,7 @@ public function limit($limit): QueryBuilderInterface
209209

210210
$this->limit = $limit;
211211

212-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-from-size.html
212+
// https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-from-size.html
213213
$this->request->size($limit * $currentWorkspaceNestingLevel);
214214

215215
return $this;
@@ -840,7 +840,7 @@ public function query(NodeInterface $contextNode): QueryBuilderInterface
840840

841841
// on indexing, the neos_parent_path is tokenized to contain ALL parent path parts,
842842
// e.g. /foo, /foo/bar/, /foo/bar/baz; to speed up matching.. That's why we use a simple "term" filter here.
843-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html
843+
// https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-term-filter.html
844844
// another term filter against the path allows the context node itself to be found
845845
$this->queryFilter('bool', [
846846
'should' => [
@@ -858,7 +858,7 @@ public function query(NodeInterface $contextNode): QueryBuilderInterface
858858
array_keys($contextNode->getContext()->getWorkspace()->getBaseWorkspaces())
859859
);
860860
//
861-
// http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
861+
// https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-terms-filter.html
862862
$this->queryFilter('terms', ['neos_workspace' => $workspaces]);
863863

864864
return $this;

Classes/Indexer/NodeIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class NodeIndexer extends AbstractNodeIndexer implements BulkNodeIndexerInterfac
148148
protected $errorStorage;
149149

150150
/**
151-
* The current Elasticsearch bulk request, in the format required by http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
151+
* The current Elasticsearch bulk request, in the format required by https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html
152152
*/
153153
protected array $currentBulkRequest = [];
154154

0 commit comments

Comments
 (0)