Description
When setting up a test, I wanted to ensure the primary index was not there first, then add an index. I called .dropPrimaryIndex(true) on the BucketManager, but the "def_primary" still existed. Dropping it by name worked.
Is this because the primary index in this case had a name other than #primary?
In either case, it was a bit confusing. The SDK-RFC doesn't seem to indicate anything special about the .dropPrimaryIndex() method.
Attachments
Issue Links
- relates to
-
JCBC-928 Allow custom name for primary index in Index DSL
- Resolved
For Gerrit Dashboard: JCBC-926 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
61426,2 | JCBC-926: Index management of named primary indexes | master | couchbase-java-client | Status: MERGED | +2 | +1 |
62239,2 | JCBC-926: Drop the named prefix in primary index management | master | couchbase-java-client | Status: MERGED | +2 | +1 |