Needs review
Project:
Drupal core
Version:
main
Component:
search.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
29 Apr 2026 at 09:46 UTC
Updated:
5 May 2026 at 10:44 UTC
Jump to comment: Most recent
Search module is being deprecated so move all the search related code from the Node module to the Search module.
core/modules/node/config/install/core.entity_view_mode.node.search_index.yml
core/modules/node/config/install/core.entity_view_mode.node.search_result.yml
core/modules/node/config/optional/search.page.node_search.yml
core/modules/node/config/schema/node.schema.yml
Create a sub module search_node for the moved code.
Deprecate the search plugin
Other changes as needed
Move tests for node searching to the new module
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
quietone commentedMoved user_search plugin and config from the user module to a sub module in Search, search_user. That is working and a manual test of updating worked as well.
Did the same for node module, moving that to search_node. A manual test of update fails, with
The "node_search" plugin does not exist. There is also more search related code in the node module that should move.Comment #4
quietone commentedThere was a cspell error that was not detected by commit-code-check locally, It was in core/modules/search/modules/search_node/config/schema/search_node.schema.yml.
Comment #5
quietone commentedComment #6
quietone commentedSetting to needs review to see how this is going. Reviews should pay attention to all the configuration changes. I am not sure they are correct.
There are tests in the Search module that can probably be moved to search_node, I just haven't looked at that yet.