We're removing the primary indexes as part of the data layer to enhance the performance and we're using spring-couchbase for the persistence layer and @N1qlPrimaryIndexed(org. spring framework.data.couchbase.core.query.N1qlPrimaryIndexed) to signal the spring framework.
As we're gonna use the primary index specified in the text file as below and the text file will be processed during the Jenkins build to create the indexes and make it come online. I've been going through some difficulty while removing this primary index. If we're gonna remove the primary index, we need some replacement of the second index in order to address the indexing need of the fields which were indexed by the primary index. But I'm facing some difficulty to identify the fields that are indexed by the primary index before because spring boot generates dynamic queries behind the CouchbaseOperations(org. spring framework.data.couchbase.core.CouchbaseOperations;). Do we've anyway to investigate through tools/techniques those couchbaseoperations while executing and try to get the fields that are indexed by a primary index that needs to be converted to a secondary index? Jenkins build is failing most of the time with the below error and unable to identify which field is missing with index. Any tiny help is much appreciated. Thanks.