stable

Clone or download

Read-only

Batch items when doing the full-indexing

It helps the full-text-search store to process the entries more efficiently. No functional changes is expected. You can run the "full-indexing" using the following commands: `tuleap full-text-search:identify-all-items-to-index` followed by `tuleap full-text-search:index-all-pending-items`. The number processed by batch has been selected to be conservative enough to be pretty certain we will not go over the max DB transaction size. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I0cb946260b8f0f77959125ec1c983ded85af04fe

Modified Files

Name
M plugins/fts_db/include/CLI/IndexAllPendingItemsCommand.php +3 −3 Go to diff View file
M plugins/fts_db/include/Index/Adapter/SearchDAO.php +14 −3 Go to diff View file
M plugins/fts_db/include/Index/Asynchronous/IndexingWorkerEventDispatcher.php +3 −3 Go to diff View file
R plugins/fts_db/include/Index/InsertItemIntoIndex.php Go to diff View file
A plugins/fts_db/include/Index/ItemToIndexLimitedBatchQueue.php +63 −0 Go to diff View file
M plugins/fts_db/include/fts_dbPlugin.php +3 −2 Go to diff View file
M plugins/fts_db/tests/integration/Index/Adapter/SearchDAOTest.php +13 −9 Go to diff View file
M plugins/fts_db/tests/unit/CLI/IndexAllPendingItemsCommandTest.php +3 −4 Go to diff View file
M plugins/fts_db/tests/unit/Index/Asynchronous/IndexingWorkerEventDispatcherTest.php +6 −6 Go to diff View file
A plugins/fts_db/tests/unit/Index/ItemToIndexLimitedBatchQueueTest.php +58 −0 Go to diff View file
D plugins/fts_db/tests/unit/Index/ItemToIndexQueueImmediateTest.php +0 −48 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +19 −15 Go to diff View file
M src/common/Search/IndexAllPendingItemsEvent.php +3 −3 Go to diff View file
R plugins/fts_db/include/Index/ItemToIndexQueueImmediate.php Go to diff View file