Description
Views were NOT actually deprecated but there was some confusion in the docs. What was deprecated was CREATE INDEX ... USING VIEW (you can only create an index with N1QL via the optional USING GSI clause since the 6.5 release - which makes USING GSI unnecessary). Somehow, this got misconstrued, and the docs sites were updated for both the server and the SDKs warning that views were deprecated.
However, we also needed to make sure the SDKs were not making any references to the CREATE INDEX ... USING VIEW features since it is now gone (deprecated in 6.0 and dropped in 6.5).
Sergey Avseyev discovered that there are still some references to the USING VIEW option in LCB. See related code for reference:
https://github.com/couchbase/libcouchbase/blob/0c4213b9144507db88e2f3f55c5ae6d3766a7a1a/include/libcouchbase/ixmgmt.h#L97-L102
https://github.com/couchbase/libcouchbase/blob/0c4213b9144507db88e2f3f55c5ae6d3766a7a1a/include/libcouchbase/ixmgmt.h#L115-L121
Acceptance Criteria:
1. Deprecate the use of CREATE INDEX ... USING VIEW anywhere it is referenced in the SDK. If it's only referenced internally, then perhaps we can just clean up the refs.
2. If we mention support for this option in any LCB documentation or samples, those need to be updated as well.