Class flSearch
flSearch Class
Class to search an index and return the results.
Direct known subclasses
Package: fusionLib
Copyright: Copyright (c) 2008 - 2016 fusionLib. All rights reserved.
Located at system/libs/Search/flSearch.php
Copyright: Copyright (c) 2008 - 2016 fusionLib. All rights reserved.
Located at system/libs/Search/flSearch.php
Methods summary
public
|
|
public
array
|
|
public
|
#
find( string $query, array|string $path = '', boolean $shortPath = true, boolean $returnShortPaths = true, array $accessPerms = array(), array $inFields = array(), integer $start = 0, integer $count = 10, boolean $matchAll = false )
Search the index. |
Properties summary
protected
string
|
$db
The database object to use. |
|
protected
string
|
$tableBase
The base name for database tables. |
|
protected
integer
|
$minWordLen
Minimum length of an indexed word. |
|
protected
integer
|
$maxWordLen
Maximum length of an indexed word. |
|
protected
array
|
$stopWords
Array of stop words |
|
protected
|
$stemmer
The language to load the stemmer in. |
|
protected
|
$docs
The document storage. |