Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SearchIndexInterface.php

function SearchIndexInterface::updateWordWeights

Updates the {search_total} database table.

Parameters

array $words: An array whose keys are words from self::index() whose total weights need to be updated.

Throws

\Drupal\search\Exception\SearchIndexException If there is an error updating the totals.

File

core/modules/search/src/SearchIndexInterface.php, line 97

Class

SearchIndexInterface
Provides search index management functions.

Namespace

Drupal\search

Code

public function updateWordWeights(array $words);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal