stable

Clone or download

Read-only

Make possible to resume the "full-indexing" of items

The full-indexing is now 2 distinct steps: * one identify all the items that can be indexed * another that do the actual indexing of the identified items The identification of items to index is automatically done when the plugin is enabled. To test, you can play the command `full-text-search:identify-all-items-to-index` then `full-text-search:index-all-pending-items` (you can stop and restart it at will). Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I3cde6678ae1fc22978b1e7fac8eadffb58b49a53

Modified Files

Name
A plugins/fts_db/include/CLI/IdentifyAllItemsToIndexCommand.php +52 −0 Go to diff View file
R plugins/fts_db/include/CLI/IndexAllItemsCommand.php Go to diff View file
M plugins/fts_db/include/fts_dbPlugin.php +18 −4 Go to diff View file
A plugins/fts_db/tests/unit/CLI/IdentifyAllItemsToIndexCommandTest.php +43 −0 Go to diff View file
R plugins/fts_db/tests/unit/CLI/IndexAllItemsCommandTest.php Go to diff View file
M plugins/tracker/db/install.sql +5 −0 Go to diff View file
A plugins/tracker/db/mysql/updates/2022/202209091645_create_table_plugin_artifact_pending_indexation.php +39 −0 Go to diff View file
M plugins/tracker/db/uninstall.sql +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Search/IndexAllArtifactsProcessor.php +5 −3 Go to diff View file
M plugins/tracker/include/Tracker/Search/IndexArtifactDAO.php +19 −7 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +10 −4 Go to diff View file
A src/common/Search/IdentifyAllItemsToIndexEvent.php +30 −0 Go to diff View file
R src/common/Search/IndexAllPossibleItemsEvent.php Go to diff View file