SproutCMS

This is the code documentation for the SproutCMS project

function addWordsIndex()

Accepts an array of relevant words and adds it into the index chosen with selectIndex()
Usually should be run from within a transaction

Usage

unknown Search::addWordsIndex ( array $words [, int $relevancy_multiplier ] );

Arguments

  1. array $words
    word => relevancy mapping
  2. int $relevancy_multiplier = 1