Bugfix: Adjust the capabilities according to full text search config

Adjust the capabilities according to full text search configurations.

https://github.com/owncloud/ocis/pull/11111
https://github.com/owncloud/ocis/issues/11059
