using the createIndex from FullTextSearchManager

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
Maxence Lange 2018-12-19 11:27:37 -01:00 committed by Backportbot
parent e38cb45bf1
commit 5557485aba

View file

@ -166,7 +166,7 @@ class FullTextSearchManager implements IFullTextSearchManager {
* @throws FullTextSearchAppNotAvailableException
*/
public function createIndex(string $providerId, string $documentId, string $userId, int $status = 0): IIndex {
return $this->getIndexService()->getIndex($providerId, $documentId);
return $this->getIndexService()->createIndex($providerId, $documentId, $userId, $status);
}