diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2018-12-19 09:36:38 -0100 |
---|---|---|
committer | Backportbot <backportbot-noreply@rullzer.com> | 2018-12-20 08:34:17 +0000 |
commit | e38cb45bf1770dfebd767027eace08b532637aae (patch) | |
tree | dc6e6f72200aa1b062d79d8e27f12deba5e0c8a9 /lib/public/FullTextSearch | |
parent | 9e9b04737e41ce2a582afdb5decade5293ab115b (diff) | |
download | nextcloud-server-e38cb45bf1770dfebd767027eace08b532637aae.tar.gz nextcloud-server-e38cb45bf1770dfebd767027eace08b532637aae.zip |
allow content provide to generate new Index
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'lib/public/FullTextSearch')
-rw-r--r-- | lib/public/FullTextSearch/Service/IIndexService.php | 14 |
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 * |