diff options
author | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-13 16:31:15 +0100 |
---|---|---|
committer | Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> | 2023-11-14 09:58:20 +0100 |
commit | 174b76fff35f52ed62fe1dc073c17e2d881c8bb0 (patch) | |
tree | f95de36ae0806535babd613897afad6a7ace5e84 /lib/public | |
parent | eaaf954753bf86ce581a0cdc06987b41312cdded (diff) | |
download | nextcloud-server-174b76fff35f52ed62fe1dc073c17e2d881c8bb0.tar.gz nextcloud-server-174b76fff35f52ed62fe1dc073c17e2d881c8bb0.zip |
Add new method `inAppSearch` for advanced search providers
Allows to indicates if a search provider also support in app search
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Search/IInAppSearch.php | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/public/Search/IInAppSearch.php b/lib/public/Search/IInAppSearch.php new file mode 100644 index 00000000000..9e1e294bf4d --- /dev/null +++ b/lib/public/Search/IInAppSearch.php @@ -0,0 +1,34 @@ +<?php + +declare(strict_types=1); + +/** + * @copyright 2023 Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> + * + * @author Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com> + * + * @license GNU AGPL version 3 or any later version + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, either version 3 of the + * License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + * + */ +namespace OCP\Search; + +/** + * Interface for search providers supporting in-app search + * + * @since 28.0.0 + */ +interface IInAppSearch extends IProvider { +} |