I’ve an application which uses Couchbase 6.0.0 CE on Docker. I’m querying this DB with Spring Boot (1.5.21). The docs say that I need to create backing views for each repository against which findAll method would be used. So I created backing views for all of my entities. (Around 19 btw)
The problem is that the cluster constantly builds views and compacts them which makes me question whether it’s absolutely necessary? I also found out that some of my findAll methods perform very slowly even though I have its corresponding backing view. I created an index that only covers “_class” attribute and the query is executed almost instantly.
Is there a change in 6.0.0 that may render backing views unnecessary? Do I still need them?