Can the java version chaincode deploy index? #328
Unanswered
csb123452010
asked this question in
Q&A
Replies: 1 comment 2 replies
-
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: |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
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.
Beta Was this translation helpful? Give feedback.
All reactions