You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I deploy the java version asset-transfer-private-data chaincode in test-network, the index deployment was not successful. And the go version asset-transfer-private-data chaincode is OK.
Then, I want check the reason, but there are no java-version asset-transfer-ledger-quires chaincode. So I copied the index from go-version asset-transfer-ledger-quires chaincode to go-version asset-transfer-basic chaincode and java-version asset-transfer-basic chaincode. And I changed the field in the index.
The go-version asset-transfer-basic chaincode with index is OK. However, the java-version asset-transfer-basic chaincode with index was not successful as well.
Couch DB indexes should work with Java chaincode in the same way as other chaincode languages. Make sure that the packaged chaincode contains the index in the correct location, relative to the root of the chaincode, not down inside any source folders. See these pages in the Fabric documentation:
Activity
bestbeforetoday commentedon Jan 9, 2024
Couch DB indexes should work with Java chaincode in the same way as other chaincode languages. Make sure that the packaged chaincode contains the index in the correct location, relative to the root of the chaincode, not down inside any source folders. See these pages in the Fabric documentation: