Drupal Search Interface

This text is automatically translated. That's just an example how your nodes will look like.

Modules can be included in a search of different types of data. Most of the work in a retrieval system performs search.module so he should be allowed for all functions in the search.

There are three ways to interact with the system to search: To search specifically nodah realized nodeapi ( 'update index' ) and nodeapi ( 'search result' ) However, please note that the search engine has indexed all visible output nodes - everything that is displayed by hook_view ( ) and hook_nodeapi ( 'view' ) Usually enough. This mechanism should be used only if the need to index additional hidden data.

Implementation hook_update_index ( ) This will be used in the module drupalovsky HTML indexing mechanism for efficient full-text search.

If the module should provide a more comprehensive search capability, you need to implement their own without hook_search ( ) In this case, you need to define it as a local task (tab) page / search (eg, / search / mymodule so that users could easily find it.