stable

Clone or download

Read-only

Start indexing tracker string fields content

For now data are only stored and not yet used. To test, you can create or update an artifact and take at the content stored in the table `plugin_fts_db_search`. Also note that for now, indexing is done right away. A future contribution will make the indexing process async. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: If529a71a755949e13dbabc5680d5496d288ed79b

Modified Files

Name
M plugins/fts_db/db/install.sql +1 −1 Go to diff View file
A plugins/fts_db/db/mysql/2022/202208311115_recreate_search_metadata_table.php +45 −0 Go to diff View file
A plugins/fts_db/include/Index/Adapter/SearchDAO.php +78 −0 Go to diff View file
A plugins/fts_db/include/Index/InsertItemIntoIndex.php +30 −0 Go to diff View file
M plugins/fts_db/include/fts_dbPlugin.php +7 −0 Go to diff View file
A plugins/fts_db/tests/integration/Index/Adapter/SearchDAOTest.php +68 −0 Go to diff View file
A plugins/tracker/include/Tracker/FormElement/FieldContentIndexer.php +52 −0 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/Tracker_FormElement_Field_String.php +11 −1 Go to diff View file
A plugins/tracker/tests/unit/Tracker/FormElement/FieldContentIndexerTest.php +71 −0 Go to diff View file
A src/common/Search/ItemToIndex.php +43 −0 Go to diff View file
R src/common/search/Presenters/AdditionalSearchTabsPresenter.class.php Go to diff View file
R src/common/search/Presenters/SearchFacetsPresenter.class.php Go to diff View file
R src/common/search/Presenters/SearchForumResultPresenter.php Go to diff View file
R src/common/search/Presenters/SearchPanePresenter.class.php Go to diff View file
R src/common/search/Presenters/SearchPeopleResultPresenter.php Go to diff View file
R src/common/search/Presenters/SearchPresenter.class.php Go to diff View file
R src/common/search/Presenters/SearchProjectResultPresenter.php Go to diff View file
R src/common/search/Presenters/SearchResultsIntroPresenter.php Go to diff View file
R src/common/search/Presenters/SearchResultsPresenter.php Go to diff View file
R src/common/search/Presenters/SearchTrackerV3ResultPresenter.php Go to diff View file
R src/common/search/Presenters/SearchTypePresenter.class.php Go to diff View file
R src/common/search/SearchController.class.php Go to diff View file
R src/common/search/SearchForum.class.php Go to diff View file
R src/common/search/SearchPeople.class.php Go to diff View file
R src/common/search/SearchPlugin.class.php Go to diff View file
R src/common/search/SearchProject.class.php Go to diff View file
R src/common/search/SearchQuery.class.php Go to diff View file
R src/common/search/SearchResults.class.php Go to diff View file
R src/common/search/SearchRouter.class.php Go to diff View file
R src/common/search/SearchTrackerV3.class.php Go to diff View file
R src/common/search/SearchWiki.class.php Go to diff View file
M tests/integration/bin/setup.sh +2 −1 Go to diff View file
M tests/psalm/tuleap-baseline.xml +21 −21 Go to diff View file