search_index

Related topics

Namesort iconDescription
Search interfaceThe Drupal search interface manages a global search mechanism.

Functions that call search_index()

Namesort iconLocationDescription
hook_update_indexdeveloper/hooks/core.phpUpdate Drupal's full-text index for this module.
search_indexmodules/search/search.moduleUpdate the full-text search index for a particular item.
_node_index_nodemodules/node/node.moduleIndex a single node.

Functions called by search_index()

Namesort iconLocationDescription
base_pathincludes/common.incReturns the base URL path of the Drupal installation. At the very least, this will always default to /.
db_affected_rowsincludes/database.pgsql.incDetermine the number of rows changed by the preceding query.
db_fetch_objectincludes/database.pgsql.incFetch one result row from the previous query as an object.
db_queryincludes/database.pgsql.incRuns a basic query in the active database.
drupal_get_normal_pathincludes/path.incGiven a path alias, return the internal path it represents.
drupal_strlenincludes/unicode.incCount the amount of characters in a UTF-8 string. This is less than or equal to the byte count.
drupal_strtolowerincludes/unicode.incLowercase a UTF-8 string.
filter_format_allowcachemodules/filter/filter.moduleCheck if text in a certain input format is allowed to be cached.
search_dirtymodules/search/search.moduleMarks a word as dirty (or retrieves the list of dirty words). This is used during indexing (cron). Words which are dirty have outdated total counts in the search_total table, and need to be recounted.
search_indexmodules/search/search.moduleUpdate the full-text search index for a particular item.
search_index_splitmodules/search/search.moduleSplits a string into tokens for indexing.
search_touch_nodemodules/search/search.moduleChange a node's changed timestamp to 'now' to force reindexing.
search_wipemodules/search/search.moduleWipes a part of or the entire search index.
variable_getincludes/bootstrap.incReturn a persistent variable.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.