stable

Clone or download

Read-only

Search REST endpoint returns identified results from the keywords

The permissions verification is not designed in the most efficient way right now and might be reworked once we can profile it with a production dataset. Part of story #26771: Index artifact fields (REST + Switch to) on updated artifacts only Change-Id: I0893b17be681144630c44ad4a0060d3aba20e5d3

Modified Files

Name
M plugins/agiledashboard/include/agiledashboardPlugin.php +6 −6 Go to diff View file
M plugins/fts_db/include/Index/Adapter/SearchDAO.php +84 −1 Go to diff View file
A plugins/fts_db/include/Index/SearchIndexedItem.php +33 −0 Go to diff View file
A plugins/fts_db/include/Index/SearchResultPage.php +55 −0 Go to diff View file
M plugins/fts_db/include/REST/v1/SearchQueryRepresentation.php +1 −0 Go to diff View file
M plugins/fts_db/include/REST/v1/SearchResource.php +19 −3 Go to diff View file
A plugins/fts_db/include/REST/v1/SearchResultEntryRepresentation.php +70 −0 Go to diff View file
M plugins/fts_db/tests/integration/Index/Adapter/SearchDAOTest.php +36 −0 Go to diff View file
M plugins/testmanagement/include/testmanagementPlugin.php +5 −5 Go to diff View file
R plugins/tracker/include/Tracker/Artifact/RecentlyVisited/HistoryLinksCollection.php Go to diff View file
M plugins/tracker/include/Tracker/Artifact/RecentlyVisited/VisitRetriever.php +2 −2 Go to diff View file
M plugins/tracker/include/Tracker/FormElement/FieldContentIndexer.php +1 −1 Go to diff View file
A plugins/tracker/include/Tracker/Search/SearchResultRetriever.php +101 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +15 −0 Go to diff View file
A plugins/tracker/tests/unit/Tracker/Search/SearchResultRetrieverTest.php +169 −0 Go to diff View file
R src/common/User/REST/v1/UserHistoryQuickLinkRepresentation.php Go to diff View file
R src/common/User/History/HistoryQuickLink.php Go to diff View file
A src/common/Search/IndexedItemFound.php +38 −0 Go to diff View file
A src/common/Search/IndexedItemFoundToSearchResult.php +58 −0 Go to diff View file
A src/common/Search/SearchResultEntry.php +48 −0 Go to diff View file
M src/common/User/History/HistoryEntry.php +3 −2 Go to diff View file
M src/common/User/REST/v1/UserHistoryEntryRepresentation.php +4 −3 Go to diff View file
A tests/unit/common/Search/IndexedItemFoundToSearchResultTest.php +64 −0 Go to diff View file