summaryrefslogtreecommitdiffstats
path: root/lib/public/Search/PagedProvider.php
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2020-06-24 15:38:03 +0200
committerGitHub <noreply@github.com>2020-06-24 15:38:03 +0200
commit654cd18864c943d9ff93c2e6151bb6529fa44513 (patch)
treebe2e318ce6fe023cc8fda0436b42bdf0e927a213 /lib/public/Search/PagedProvider.php
parent7972a5fda6290b425e1f62f72c2a0c49ec648ae3 (diff)
parent2c699e090179a2ca235d28540b5999e27c36b9de (diff)
downloadnextcloud-server-654cd18864c943d9ff93c2e6151bb6529fa44513.tar.gz
nextcloud-server-654cd18864c943d9ff93c2e6151bb6529fa44513.zip
Merge pull request #20916 from nextcloud/feature/unified-search-api
Add unified search API
Diffstat (limited to 'lib/public/Search/PagedProvider.php')
-rw-r--r--lib/public/Search/PagedProvider.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/public/Search/PagedProvider.php b/lib/public/Search/PagedProvider.php
index cbccc1abc0f..479214ad405 100644
--- a/lib/public/Search/PagedProvider.php
+++ b/lib/public/Search/PagedProvider.php
@@ -30,12 +30,14 @@ namespace OCP\Search;
/**
* Provides a template for search functionality throughout ownCloud;
* @since 8.0.0
+ * @deprecated 20.0.0
*/
abstract class PagedProvider extends Provider {
/**
* show all results
* @since 8.0.0
+ * @deprecated 20.0.0
*/
public const SIZE_ALL = 0;
@@ -43,6 +45,7 @@ abstract class PagedProvider extends Provider {
* Constructor
* @param array $options
* @since 8.0.0
+ * @deprecated 20.0.0
*/
public function __construct($options) {
parent::__construct($options);
@@ -53,6 +56,7 @@ abstract class PagedProvider extends Provider {
* @param string $query
* @return array An array of OCP\Search\Result's
* @since 8.0.0
+ * @deprecated 20.0.0
*/
public function search($query) {
// old apps might assume they get all results, so we use SIZE_ALL
@@ -66,6 +70,7 @@ abstract class PagedProvider extends Provider {
* @param int $size 0 = SIZE_ALL
* @return array An array of OCP\Search\Result's
* @since 8.0.0
+ * @deprecated 20.0.0
*/
abstract public function searchPaged($query, $page, $size);
}