stable

Clone or download

Read-only

Extract common parts of the full-text-search backend

This should make easy as possible to add another FTS backend. No functional changes. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: Ie5f82dcd282afc1765cb39b890731e264079a9ce

Modified Files

Name
A plugins/fts_common/composer.json +13 −0 Go to diff View file
A plugins/fts_common/composer.lock +18 −0 Go to diff View file
R plugins/fts_db/include/CLI/IdentifyAllItemsToIndexCommand.php Go to diff View file
R plugins/fts_db/include/CLI/IndexAllPendingItemsCommand.php Go to diff View file
R plugins/fts_db/include/CLI/ProgressQueueIndexItemCategorySymfonyOutput.php Go to diff View file
A plugins/fts_common/include/FullTextSearchBackendPlugin.php +125 −0 Go to diff View file
R plugins/fts_db/include/Index/Asynchronous/IndexItemTask.php Go to diff View file
R plugins/fts_db/include/Index/Asynchronous/IndexingWorkerEventDispatcher.php Go to diff View file
R plugins/fts_db/include/Index/Asynchronous/RemoveItemsFromIndexTask.php Go to diff View file
R plugins/fts_db/include/Index/DeleteIndexedItems.php Go to diff View file
A plugins/fts_common/include/Index/FindIndexSearcher.php +32 −0 Go to diff View file
R plugins/fts_db/include/Index/InsertItemsIntoIndex.php Go to diff View file
R plugins/fts_db/include/Index/ItemToIndexLimitedBatchQueue.php Go to diff View file
R plugins/fts_db/include/Index/SearchIndexedItem.php Go to diff View file
R plugins/fts_db/include/Index/SearchResultPage.php Go to diff View file
R plugins/fts_db/include/REST/ResourcesInjector.php Go to diff View file
R plugins/fts_db/include/REST/v1/SearchQueryRepresentation.php Go to diff View file
R plugins/fts_db/include/REST/v1/SearchResource.php Go to diff View file
R plugins/fts_db/include/REST/v1/SearchResultEntryRepresentation.php Go to diff View file
A plugins/fts_common/site-content/.keep +0 −0 Go to diff View file
R plugins/fts_db/tests/unit/CLI/IdentifyAllItemsToIndexCommandTest.php Go to diff View file
R plugins/fts_db/tests/unit/CLI/IndexAllPendingItemsCommandTest.php Go to diff View file
R plugins/fts_db/tests/unit/Index/Asynchronous/IndexItemTaskTest.php Go to diff View file
R plugins/fts_db/tests/unit/Index/Asynchronous/IndexingWorkerEventDispatcherTest.php Go to diff View file
R plugins/fts_db/tests/unit/Index/Asynchronous/RemoveItemsFromIndexTaskTest.php Go to diff View file
R plugins/fts_db/tests/unit/Index/ItemToIndexLimitedBatchQueueTest.php Go to diff View file
R plugins/fts_db/include/Index/Adapter/SearchDAO.php Go to diff View file
M plugins/fts_db/include/fts_dbPlugin.php +10 −69 Go to diff View file
R plugins/fts_db/tests/integration/Index/Adapter/SearchDAOTest.php Go to diff View file
M tools/rpm/tuleap.rhel7.spec +13 −1 Go to diff View file