{
"abv": "7.6",
"brewery_id": "21st_amendment_brewery_cafe",
"category": "Irish Ale",
"description": "Deep toffee color with rich roasty and subtle hop aroma. Chocolate flavors dominate the palate and interact with back-end sweetness.",
"ibu": "0.1",
"amenddetails": [],
"name": "General Pippo's Porter",
"srm": "0",
"style": "Porter",
"type": "beer",
"upc": "0"
}
I don’t know the document ID,but I want to update the amenddetails with jsonarray like
[
{
"id":"abc",
"value":"abcd"
}
]
by using field abv='7.6’
What is the procedure for doing above?
Shall I go through the N1QL or some other procedure?
Help me in this context.
Thanks in advance.
Iam using version 4.5.0-2601 Enterprise Edition (build-2601) and
for secondary index setup
CREATE INDEX id_ix on `Sample`(abv) USING GSI;
Iam getting like this “GSI CreateIndex() - cause: Fails to create index. There is no available index service that can process this request at this time. Index Service can be in bootstrap, recovery, or non-reachable. Please retry the operation at a later time”