diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2023-11-16 15:41:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 15:41:27 +0100 |
commit | 7b45939561051b761822190e9b609f0998eb7640 (patch) | |
tree | 50c63b912f323230255d830d49e8723c970b601c /lib/public | |
parent | 9c3350b3131312e60155c26a8a15b95981c6dd0a (diff) | |
parent | 72c191df117700d1b01f21afdf4e657f25b68453 (diff) | |
download | nextcloud-server-7b45939561051b761822190e9b609f0998eb7640.tar.gz nextcloud-server-7b45939561051b761822190e9b609f0998eb7640.zip |
Merge pull request #41511 from nextcloud/enh/advanced_search_backend
Enhancements for advanced search API
Diffstat (limited to 'lib/public')
-rw-r--r-- | lib/public/Search/IFilter.php | 15 | ||||
-rw-r--r-- | lib/public/Search/ISearchQuery.php | 1 |
2 files changed, 15 insertions, 1 deletions
diff --git a/lib/public/Search/IFilter.php b/lib/public/Search/IFilter.php index c4e444e806b..6065622cb71 100644 --- a/lib/public/Search/IFilter.php +++ b/lib/public/Search/IFilter.php @@ -31,6 +31,21 @@ namespace OCP\Search; * @since 28.0.0 */ interface IFilter { + /** @since 28.0.0 */ + public const BUILTIN_TERM = 'term'; + /** @since 28.0.0 */ + public const BUILTIN_SINCE = 'since'; + /** @since 28.0.0 */ + public const BUILTIN_UNTIL = 'until'; + /** @since 28.0.0 */ + public const BUILTIN_PERSON = 'person'; + /** @since 28.0.0 */ + public const BUILTIN_TITLE_ONLY = 'title-only'; + /** @since 28.0.0 */ + public const BUILTIN_PLACES = 'places'; + /** @since 28.0.0 */ + public const BUILTIN_PROVIDER = 'provider'; + /** * Get filter value * diff --git a/lib/public/Search/ISearchQuery.php b/lib/public/Search/ISearchQuery.php index 56f1f1f0faa..75d95b45c4c 100644 --- a/lib/public/Search/ISearchQuery.php +++ b/lib/public/Search/ISearchQuery.php @@ -48,7 +48,6 @@ interface ISearchQuery { * * @return string the search term * @since 20.0.0 - * @deprecated 28.0.0 */ public function getTerm(): string; |