allow content provide to generate new Index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
9e9b04737e
commit
e38cb45bf1
|
@ -44,6 +44,20 @@ use OCP\FullTextSearch\Model\IIndex;
|
||||||
interface IIndexService {
|
interface IIndexService {
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create an Index
|
||||||
|
*
|
||||||
|
* @since 15.0.1
|
||||||
|
*
|
||||||
|
* @param string $providerId
|
||||||
|
* @param string $documentId
|
||||||
|
* @param string $userId
|
||||||
|
* @param int $status
|
||||||
|
* @return IIndex
|
||||||
|
*/
|
||||||
|
public function createIndex(string $providerId, string $documentId, string $userId, int $status): IIndex;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve an Index from the database, based on the Id of the Provider
|
* Retrieve an Index from the database, based on the Id of the Provider
|
||||||
* and the Id of the Document
|
* and the Id of the Document
|
||||||
|
|
Loading…
Reference in New Issue