->
fields(['score' =>
$score]) ->
expression('score', '[score] + :score',
[':score' =>
$score]) ->
execute();
$current_words[$word] = TRUE;
} } catch (\Exception
$e) { throw new SearchIndexException("Failed to insert dataset in index for type '
$type', sid '
$sid' and langcode '
$langcode'", 0,
$e);
} finally { if ($update_weights) { $this->
updateWordWeights($current_words);
} } return $current_words;
} /**
* {@inheritdoc}
*/
public function clear($type = NULL,
$sid = NULL,
$langcode = NULL
) { try {