FullTextSearchManager¶
-
class
OC\FullTextSearch\
FullTextSearchManager
¶ - Class FullTextSearchManager
Source: lib/private/FullTextSearch/FullTextSearchManager.php#42 Implements: OCP\FullTextSearch\IFullTextSearchManager
Properties¶
Methods¶
-
public
OC\FullTextSearch\FullTextSearchManager::
registerProviderService
($providerService)¶ Source: Parameters: - $providerService (
OCP\FullTextSearch\Service\IProviderService
)
Since: 15.0.0
- $providerService (
-
public
OC\FullTextSearch\FullTextSearchManager::
registerIndexService
($indexService)¶ Source: Parameters: - $indexService (
OCP\FullTextSearch\Service\IIndexService
)
Since: 15.0.0
- $indexService (
-
public
OC\FullTextSearch\FullTextSearchManager::
registerSearchService
($searchService)¶ Source: Parameters: - $searchService (
OCP\FullTextSearch\Service\ISearchService
)
Since: 15.0.0
- $searchService (
-
public
OC\FullTextSearch\FullTextSearchManager::
isAvailable
()¶ Source: lib/private/FullTextSearch/FullTextSearchManager.php#87 Since: 16.0.0 Returns: bool
-
public
OC\FullTextSearch\FullTextSearchManager::
addJavascriptAPI
()¶ Source: lib/private/FullTextSearch/FullTextSearchManager.php#140 Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
isProviderIndexed
($providerId)¶ Source: Parameters: - $providerId (string)
Returns: bool
Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
getIndex
($providerId, $documentId)¶ Source: Parameters: - $providerId (string)
- $documentId (string)
Returns: Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
createIndex
($providerId, $documentId, $userId, $status=0)¶ Source: Parameters: - $providerId (string)
- $documentId (string)
- $userId (string)
- $status (int)
See: \OCP\FullTextSearch\Model\IIndex
for available value for $status.Returns: Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
updateIndexStatus
($providerId, $documentId, $status, $reset=false)¶ Source: Parameters: - $providerId (string)
- $documentId (string)
- $status (int)
- $reset (bool)
See: \OCP\FullTextSearch\Model\IIndex
for available value for $status.Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
updateIndexesStatus
($providerId, $documentIds, $status, $reset=false)¶ Source: Parameters: - $providerId (string)
- $documentIds (array)
- $status (int)
- $reset (bool)
See: \OCP\FullTextSearch\Model\IIndex
for available value for $status.Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
-
public
OC\FullTextSearch\FullTextSearchManager::
updateIndexes
($indexes)¶ Source: Parameters: - $indexes (
OCP\FullTextSearch\Model\IIndex[]
)
Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException
- $indexes (
-
public
OC\FullTextSearch\FullTextSearchManager::
search
($request, $userId="")¶ Source: Parameters: - $request (array)
- $userId (string)
Returns: Throws: \OCP\FullTextSearch\Exceptions\FullTextSearchAppNotAvailableException