PHP ManualSwish FunctionsIntroductionThe swish extension provides the bindings for Swish-e API. Swish-e stands for "Simple Web Indexing System for Humans - Enhanced" and is an open source system for indexing and search. Swish-e itself is licensed under GPL license, but uses a clause that allows applications to link against the library if every copy of the combined work is accompanied by the URL to Swish-e source code. Here it is: » http://swish-e.org. Warning
This extension is EXPERIMENTAL. The behaviour of this extension -- including the names of its functions and anything else documented about this extension -- may change without notice in a future release of PHP. Use this extension at your own risk. RequirementsPECL/swish requires PHP 5.1.3 or newer. InstallationInformation for installing this PECL extension may be found in the manual chapter titled Installation of PECL extensions. Additional information such as new releases, downloads, source files, maintainer information, and a CHANGELOG, can be located here: » http://pecl.php.net/package/swish. The latest PECL/swish Win32 DLL can be downloaded here: » php_swish.dll. Runtime ConfigurationThis extension has no configuration directives defined in php.ini. Examples
Example#1 Basic search query
<?phpThe above example will output something similar to:
Predefined ConstantsThe constants below are defined by this extension, and will only be available when the extension has either been compiled into PHP or dynamically loaded at runtime.
Predefined ClassesPredefined ClassesSwish
Properties
Methods
SwishSearch
Methods
SwishResults
Properties
Methods
SwishResult
Properties
Methods
SwishExceptionSwishException extends the built in Exception class and possesses the same set of properties and methods. See Exceptions for more details. Table of Contents
|
PHP-Index
New Tutorial entries
|





