Home > PHP > Function > Swish > SwishResults->getParsedWords()

SwishResults->getParsedWords()

SwishResults->getParsedWords - Get an array of parsed words

Syntax

array SwishResults->getParsedWords (string $index_name)

Arguments

  • index_name - The name of the index used to initialize Swishobject.

Description

Version

PHP PECL swish >= 0.1.0

Return value

An array of parsed words with stopwords removed. The list of parsed words may be useful for highlighting search terms in the results.