include/SugarSearchEngine/SugarSearchEngineFactory.php
\SugarSearchEngineFactory
Package:
Parameters
Returns
Details
Properties
Methods

getInstance(
$name
=
'', $config
=
array(), $useDefaultWhenFTSDown
=
false
)
:
\SugarSearchEngineInterface
static
getInstance()
Connect to the backend engine and store for later use
| Name | Type | Description |
|---|---|---|
| $name | ||
| $config | ||
| $useDefaultWhenFTSDown |
| Type | Description |
|---|---|
| \SugarSearchEngineInterface |
- Static

loadSearchEngineFromLocation(
$filePath, $config
)
:
bool
static
Parameters
Returns
Details
| Name | Type | Description |
|---|---|---|
| $filePath | ||
| $config |
| Type | Description |
|---|---|
| bool |
- Static