Skip to content

Commit 3c9996a

Browse files
authored
Merge pull request #217 from kdambekalns/elementareteilchen-patch2-redone
TASK: Update travis.yml, remove "typo3", declare dependencies
2 parents 009c278 + f680679 commit 3c9996a

17 files changed

Lines changed: 111 additions & 103 deletions

.travis.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ matrix:
55
env: ES=1
66
- php: 7.0
77
env: ES=2
8+
- php: 7.1
9+
env: ES=1
10+
- php: 7.1
11+
env: ES=2
812
sudo: false
913
before_install:
1014
- export NEOS_TARGET_VERSION=3.0

Classes/Command/NodeTypeCommandController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
/**
1818
* Provides CLI features for debugging the node types.
1919
*
20-
* TODO: move to TYPO3CR or Neos
20+
* TODO: move to ContentRepository or Neos
2121
*
2222
* @Flow\Scope("singleton")
2323
*/

Classes/Driver/AbstractQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
abstract class AbstractQuery implements QueryInterface, \JsonSerializable, \ArrayAccess, ProtectedContextAwareInterface
2222
{
2323
/**
24-
* The ElasticSearch request, as it is being built up.
24+
* The Elasticsearch request, as it is being built up.
2525
*
2626
* @var array
2727
*/

Classes/Driver/QueryInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public function setValueByPath($path, $value);
132132
/**
133133
* Append $data to the given array at $path inside $this->request.
134134
*
135-
* Low-level method to manipulate the ElasticSearch Query
135+
* Low-level method to manipulate the Elasticsearch Query
136136
*
137137
* @param string $path
138138
* @param array $data

Classes/Eel/ElasticSearchQuery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/**
1818
* This ElasticSearchQuery object is just used inside ElasticSearchQueryResult->getQuery(), so that pagination
19-
* widgets etc work in the same manner for ElasticSearch results.
19+
* widgets etc work in the same manner for Elasticsearch results.
2020
*/
2121
class ElasticSearchQuery implements QueryInterface
2222
{

Classes/Eel/ElasticSearchQueryBuilder.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class ElasticSearchQueryBuilder implements QueryBuilderInterface, ProtectedConte
7474

7575
/**
7676
* This (internal) array stores, for the last search request, a mapping from Node Identifiers
77-
* to the full ElasticSearch Hit which was returned.
77+
* to the full Elasticsearch Hit which was returned.
7878
*
7979
* This is needed to e.g. use result highlighting.
8080
*
@@ -83,7 +83,7 @@ class ElasticSearchQueryBuilder implements QueryBuilderInterface, ProtectedConte
8383
protected $elasticSearchHitsIndexedByNodeFromLastRequest;
8484

8585
/**
86-
* The ElasticSearch request, as it is being built up.
86+
* The Elasticsearch request, as it is being built up.
8787
*
8888
* @var QueryInterface
8989
* @Flow\Inject
@@ -310,7 +310,7 @@ public function queryFilter($filterType, $filterOptions, $clauseType = 'must')
310310
/**
311311
* Append $data to the given array at $path inside $this->request.
312312
*
313-
* Low-level method to manipulate the ElasticSearch Query
313+
* Low-level method to manipulate the Elasticsearch Query
314314
*
315315
* @param string $path
316316
* @param array $data
@@ -473,7 +473,7 @@ public function suggestions($name, array $suggestionDefinition)
473473
}
474474

475475
/**
476-
* Get the ElasticSearch request as we need it
476+
* Get the Elasticsearch request as we need it
477477
*
478478
* @return QueryInterface
479479
*/
@@ -483,7 +483,7 @@ public function getRequest()
483483
}
484484

485485
/**
486-
* Log the current request to the ElasticSearch log for debugging after it has been executed.
486+
* Log the current request to the Elasticsearch log for debugging after it has been executed.
487487
*
488488
* @param string $message an optional message to identify the log entry
489489
* @return $this
@@ -526,10 +526,10 @@ public function getFrom()
526526
}
527527

528528
/**
529-
* This low-level method can be used to look up the full ElasticSearch hit given a certain node.
529+
* This low-level method can be used to look up the full Elasticsearch hit given a certain node.
530530
*
531531
* @param NodeInterface $node
532-
* @return array the ElasticSearch hit for the node as array, or NULL if it does not exist.
532+
* @return array the Elasticsearch hit for the node as array, or NULL if it does not exist.
533533
*/
534534
public function getFullElasticSearchHitForNode(NodeInterface $node)
535535
{

Classes/Eel/ElasticSearchQueryResult.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,13 +237,13 @@ public function getSuggestions()
237237
}
238238

239239
/**
240-
* Returns the ElasticSearch "hit" (e.g. the raw content being transferred back from ElasticSearch)
240+
* Returns the Elasticsearch "hit" (e.g. the raw content being transferred back from Elasticsearch)
241241
* for the given node.
242242
*
243243
* Can be used for example to access highlighting information.
244244
*
245245
* @param NodeInterface $node
246-
* @return array the ElasticSearch hit, or NULL if it does not exist.
246+
* @return array the Elasticsearch hit, or NULL if it does not exist.
247247
* @api
248248
*/
249249
public function searchHitForNode(NodeInterface $node)
@@ -253,7 +253,7 @@ public function searchHitForNode(NodeInterface $node)
253253

254254
/**
255255
* Returns the array with all sort values for a given node. The values are fetched from the raw content
256-
* ElasticSearch returns within the hit data
256+
* Elasticsearch returns within the hit data
257257
*
258258
* @param NodeInterface $node
259259
* @return array

Classes/ElasticSearchClient.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
class ElasticSearchClient extends \Flowpack\ElasticSearch\Domain\Model\Client
2828
{
2929
/**
30-
* The index name to be used for querying (by default "typo3cr")
30+
* The index name to be used for querying (by default "neoscr")
3131
*
3232
* @var string
3333
*/
@@ -64,7 +64,7 @@ public function getIndexName()
6464

6565
/**
6666
* Retrieve the index to be used for querying or on-the-fly indexing.
67-
* In ElasticSearch, this index is an *alias* to the currently used index.
67+
* In Elasticsearch, this index is an *alias* to the currently used index.
6868
*
6969
* @return \Flowpack\ElasticSearch\Domain\Model\Index
7070
*/

Classes/Indexer/NodeIndexer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ class NodeIndexer extends AbstractNodeIndexer implements BulkNodeIndexerInterfac
101101
protected $systemDriver;
102102

103103
/**
104-
* The current ElasticSearch bulk request, in the format required by http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
104+
* The current Elasticsearch bulk request, in the format required by http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-bulk.html
105105
*
106106
* @var array
107107
*/

Classes/Mapping/NodeTypeMappingBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
use Neos\ContentRepository\Domain\Service\NodeTypeManager;
2121

2222
/**
23-
* Builds the mapping information for TYPO3CR Node Types in Elastic Search
23+
* Builds the mapping information for ContentRepository Node Types in Elasticsearch
2424
*
2525
* @Flow\Scope("singleton")
2626
*/
@@ -64,7 +64,7 @@ public function initializeObject($cause)
6464
}
6565

6666
/**
67-
* Converts a TYPO3CR Node Type name into a name which can be used for an Elastic Search Mapping
67+
* Converts a ContentRepository Node Type name into a name which can be used for an Elasticsearch Mapping
6868
*
6969
* @param string $nodeTypeName
7070
* @return string

0 commit comments

Comments
 (0)