TASK: rephrase indice to index.

This commit is contained in:
Daniel Siepmann 2018-12-30 13:22:25 +01:00
parent 43254c168c
commit 28a8dd1ab4
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 11 additions and 11 deletions

View file

@ -54,7 +54,7 @@ class IndexCommandController extends CommandController
{
$this->executeForIdentifier($identifiers, function (IndexerInterface $indexer) {
$indexer->indexAllDocuments();
$this->outputLine('Documents in indice ' . $indexer->getIdentifier() . ' were indexed.');
$this->outputLine('Documents in index ' . $indexer->getIdentifier() . ' were indexed.');
});
}
@ -67,7 +67,7 @@ class IndexCommandController extends CommandController
{
$this->executeForIdentifier($identifiers, function (IndexerInterface $indexer) {
$indexer->deleteDocuments();
$this->outputLine('Documents in indice ' . $indexer->getIdentifier() . ' were deleted.');
$this->outputLine('Documents in index ' . $indexer->getIdentifier() . ' were deleted.');
});
}

View file

@ -33,7 +33,7 @@ You can trigger deletion for indexes from CLI::
This will delete the index for the table ``pages``. Deletion means removing all
documents from the index.
Multiple indices can be called by providing a comma separated list of identifiers as
Multiple indexes can be called by providing a comma separated list of identifiers as
a single argument. Spaces before and after commas are ignored.
.. _usage_manual_flush:
@ -49,7 +49,7 @@ You can trigger flush for indexes from CLI::
This will flush the index for the table ``pages``. Flush means removing the index
from backend.
Multiple indices can be called by providing a comma separated list of identifiers as
Multiple indexes can be called by providing a comma separated list of identifiers as
a single argument. Spaces before and after commas are ignored.
.. _usage_auto_indexing:

View file

@ -85,7 +85,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
->method('quit');
$this->subject->expects($this->once())
->method('outputLine')
->with('Documents in indice allowedTable were indexed.');
->with('Documents in index allowedTable were indexed.');
$this->indexerFactory->expects($this->once())
->method('getIndexer')
->with('allowedTable')
@ -107,7 +107,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
->willReturn('allowedTable');
$this->subject->expects($this->once())
->method('outputLine')
->with('Documents in indice allowedTable were deleted.');
->with('Documents in index allowedTable were deleted.');
$this->indexerFactory->expects($this->once())
->method('getIndexer')
->with('allowedTable')
@ -131,7 +131,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
->willReturn('pages');
$this->subject->expects($this->once())
->method('outputLine')
->with('Indice pages was flushed.');
->with('Index pages was deleted.');
$this->indexerFactory->expects($this->once())
->method('getIndexer')
->with('pages')
@ -177,8 +177,8 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
$this->subject->expects($this->exactly(2))
->method('outputLine')
->withConsecutive(
['Documents in indice allowedTable were indexed.'],
['Documents in indice anotherTable were indexed.']
['Documents in index allowedTable were indexed.'],
['Documents in index anotherTable were indexed.']
);
$this->indexerFactory->expects($this->exactly(2))
->method('getIndexer')
@ -203,7 +203,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
->method('quit');
$this->subject->expects($this->once())
->method('outputLine')
->with('Documents in indice allowedTable were indexed.');
->with('Documents in index allowedTable were indexed.');
$this->indexerFactory->expects($this->once())
->method('getIndexer')
->with('allowedTable')
@ -229,7 +229,7 @@ class IndexCommandControllerTest extends AbstractUnitTestCase
->method('outputLine')
->withConsecutive(
['No indexer found for: nonExisting.'],
['Documents in indice allowedTable were indexed.']
['Documents in index allowedTable were indexed.']
);
$this->indexerFactory->expects($this->exactly(2))
->method('getIndexer')