• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Piet Souris
  • Carey Brown
  • Stephan van Hulst
Bartenders:
  • Frits Walraven
  • fred rosenberger
  • salvin francis

couchbase repositories and primary indices removal

 
Ranch Hand
Posts: 251
1
jQuery Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

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.

 
CLUCK LIKE A CHICKEN! Now look at this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic