SwishResults::nextResult

(PECL swish >= 0.1.0) Get the next search result object SwishResults::nextResult ( void ) Returns: Returns the next SwishResult object in the result set or FALSE if there are no more results available. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. Thi

SwishResults::getRemovedStopwords

(PECL swish >= 0.1.0) Get an array of stopwords removed from the query array SwishResults::getRemovedStopwords ( string $index_name ) Parameters: index_name The name of the index used to initialize Swish object. Returns: Returns array of stopwords removed from the query. This function is EXPERIMENTAL. The beh

SwishResults::getParsedWords

(PECL swish >= 0.1.0) Get an array of parsed words array SwishResults::getParsedWords ( string $index_name ) Parameters: indexi_name The name of the index used to initialize Swish object. Returns: An array of parsed words with stopwords removed. The list of parsed words may be useful for highlighting search terms in the results.

SwishResult::stem

(PECL swish >= 0.1.0) Stems the given word array SwishResult::stem ( string $word ) Stems the word based on the fuzzy mode used during indexing. Each result object is linked with its index, so the results are based on this index. Parameters: word The word to stem. Returns: Returns array containing the stemmed word variants (usually just one).

SwishResult::getMetaList

(PECL swish >= 0.1.0) Get a list of meta entries array SwishResult::getMetaList ( void ) Returns: Returns the same array as swish::getmetalist(), but uses the index file from the result handle. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This functi

Swish::query

(PECL swish >= 0.1.0) Execute a query and return results object object Swish::query ( string $query ) A quick method to execute a search with default parameters. Parameters: query Query string. Returns: Returns SwishResults object. This function is EXPERIMENTAL. The behaviour of this function, its name, and

Swish::prepare

(PECL swish >= 0.1.0) Prepare a search query object Swish::prepare ([ string $query ] ) Prepare and return a search object, which you can later use for unlimited number of queries. Parameters: query Optional query string. The query can be also set using SwishSearch::execute() method. Returns: Returns SwishSearch object.

Swish::getPropertyList

(PECL swish >= 0.1.0) Get the list of properties for the index array Swish::getPropertyList ( string $index_name ) Parameters: index_name The name of the index file. Returns: Returns an array of properties for the given index. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrou

Swish::getMetaList

(PECL swish >= 0.1.0) Get the list of meta entries for the index array Swish::getMetaList ( string $index_name ) Parameters: index_name The name of the index file. Returns: Returns an array of meta entries for the given index. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrou

Swish::__construct

(PECL swish >= 0.1.0) Construct a Swish object void Swish::__construct ( string $index_names ) Parameters: index_names The list of index files separated by spaces. Returns: No value is returned. This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change