Add the logic for searching and showing group wiki search
Now we are indexing the group wikis also so this MR implements the searching and displaying group wikis on the results page. Changelog: added MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/123522 EE: true
显示
- .rubocop_todo/search/namespaced_class.yml 1 个添加, 0 个删除.rubocop_todo/search/namespaced_class.yml
- app/helpers/search_helper.rb 4 个添加, 0 个删除app/helpers/search_helper.rb
- app/views/search/results/_wiki_blob.html.haml 1 个添加, 4 个删除app/views/search/results/_wiki_blob.html.haml
- doc/user/project/wiki/group.md 0 个添加, 1 个删除doc/user/project/wiki/group.md
- doc/user/search/advanced_search.md 1 个添加, 1 个删除doc/user/search/advanced_search.md
- doc/user/search/index.md 1 个添加, 1 个删除doc/user/search/index.md
- ee/app/helpers/ee/search_helper.rb 7 个添加, 0 个删除ee/app/helpers/ee/search_helper.rb
- ee/app/models/ee/group.rb 6 个添加, 0 个删除ee/app/models/ee/group.rb
- ee/lib/ee/gitlab/search/found_wiki_page.rb 19 个添加, 0 个删除ee/lib/ee/gitlab/search/found_wiki_page.rb
- ee/lib/elastic/latest/git_class_proxy.rb 38 个添加, 10 个删除ee/lib/elastic/latest/git_class_proxy.rb
- ee/lib/elastic/latest/wiki_class_proxy.rb 9 个添加, 0 个删除ee/lib/elastic/latest/wiki_class_proxy.rb
- ee/lib/gitlab/elastic/search_results.rb 29 个添加, 11 个删除ee/lib/gitlab/elastic/search_results.rb
- ee/spec/features/search/elastic/global_search_spec.rb 13 个添加, 7 个删除ee/spec/features/search/elastic/global_search_spec.rb
- ee/spec/features/search/elastic/group_search_spec.rb 10 个添加, 6 个删除ee/spec/features/search/elastic/group_search_spec.rb
- ee/spec/helpers/search_helper_spec.rb 9 个添加, 0 个删除ee/spec/helpers/search_helper_spec.rb
- ee/spec/lib/ee/gitlab/search/found_wiki_page_spec.rb 29 个添加, 0 个删除ee/spec/lib/ee/gitlab/search/found_wiki_page_spec.rb
- ee/spec/lib/elastic/latest/routing_spec.rb 1 个添加, 1 个删除ee/spec/lib/elastic/latest/routing_spec.rb
- ee/spec/lib/gitlab/elastic/search_results_spec.rb 51 个添加, 2 个删除ee/spec/lib/gitlab/elastic/search_results_spec.rb
- ee/spec/models/ee/group_spec.rb 30 个添加, 0 个删除ee/spec/models/ee/group_spec.rb
- lib/gitlab/search/found_blob.rb 4 个添加, 1 个删除lib/gitlab/search/found_blob.rb
加载中
想要评论请 注册 或 登录