Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2018-12-19 13:36:38 +0300
committerMaxence Lange <maxence@artificial-owl.com>2018-12-19 13:36:38 +0300
commit3c1fd5cf292673026cb564e56d16a4adb27c2dd1 (patch)
tree076a94f96ba5ca014b8317f3a141b47f9ec9981b /lib/public
parentfc621142bfb725af1c35277e752b94e6da5d5ceb (diff)
allow content provide to generate new Index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/FullTextSearch/Service/IIndexService.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/public/FullTextSearch/Service/IIndexService.php b/lib/public/FullTextSearch/Service/IIndexService.php
index c5d1b9b3bcf..b70c7eb965f 100644
--- a/lib/public/FullTextSearch/Service/IIndexService.php
+++ b/lib/public/FullTextSearch/Service/IIndexService.php
@@ -45,6 +45,20 @@ 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
* and the Id of the Document
*