From 7f2e63fe6b9ace1ad8c219af2521339982785e4b Mon Sep 17 00:00:00 2001 From: jkoberg Date: Tue, 23 May 2023 15:03:33 +0200 Subject: [PATCH] add fulltextsearch capability Signed-off-by: jkoberg --- changelog/unreleased/fulltextsearch_capability.md | 5 +++++ internal/http/services/owncloud/ocs/data/capabilities.go | 1 + 2 files changed, 6 insertions(+) create mode 100644 changelog/unreleased/fulltextsearch_capability.md diff --git a/changelog/unreleased/fulltextsearch_capability.md b/changelog/unreleased/fulltextsearch_capability.md new file mode 100644 index 0000000000..2e42ed3862 --- /dev/null +++ b/changelog/unreleased/fulltextsearch_capability.md @@ -0,0 +1,5 @@ +Enhancement: Introduce FullTextSearch Capability + +Add a capability that shows if fulltextsearch is supported by the server + +https://github.com/cs3org/reva/pull/3913 diff --git a/internal/http/services/owncloud/ocs/data/capabilities.go b/internal/http/services/owncloud/ocs/data/capabilities.go index 281918da7d..300a17a857 100644 --- a/internal/http/services/owncloud/ocs/data/capabilities.go +++ b/internal/http/services/owncloud/ocs/data/capabilities.go @@ -148,6 +148,7 @@ type CapabilitiesFiles struct { Undelete ocsBool `json:"undelete" xml:"undelete"` Versioning ocsBool `json:"versioning" xml:"versioning"` Favorites ocsBool `json:"favorites" xml:"favorites"` + FullTextSearch ocsBool `json:"full_text_search" xml:"full_text_search" mapstructure:"full_text_search"` Tags ocsBool `json:"tags" xml:"tags"` BlacklistedFiles []string `json:"blacklisted_files" xml:"blacklisted_files>element" mapstructure:"blacklisted_files"` TusSupport *CapabilitiesFilesTusSupport `json:"tus_support" xml:"tus_support" mapstructure:"tus_support"`