From 144e83520b9fc4b603f223ec5b69a9f5df1e607c Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Thu, 3 Feb 2022 10:35:06 -0100 Subject: [PATCH] +getCollection(): string; Signed-off-by: Maxence Lange --- lib/public/FullTextSearch/Model/IIndex.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/public/FullTextSearch/Model/IIndex.php b/lib/public/FullTextSearch/Model/IIndex.php index 1a8b5d875ba..dad10c934de 100644 --- a/lib/public/FullTextSearch/Model/IIndex.php +++ b/lib/public/FullTextSearch/Model/IIndex.php @@ -84,6 +84,17 @@ interface IIndex { public function getDocumentId(): string; + /** + * Get the collection of the index. + * If empty (''), means collection is the default one used by the internal framework + * + * @since 24.0.0 + * + * @return string + */ + public function getCollection(): string; + + /** * Set the source of the original document. *