Getting an error code while creating new index


#1

CREATE INDEX idx_ao_v2_trx_event_eid_node1 on JJ-DEMO(dbTransactionEvent.key.eid) WHERE type = “ao.evt:trx” USING GSI WITH {“nodes”:[“10.143.67.100:8091”]};

Error –
{
“code”: 3000,
“msg”: "syntax error - at ‘JJ-DEMO’ "
}


#2

try this

CREATE INDEX idx_ao_v2_trx_event_eid_node1 on `JJ-DEMO`(dbTransactionEvent.key.eid) WHERE type = "ao.evt:trx" USING GSI WITH {"nodes":["10.143.67.100:8091"]};

#3

Thanks man…
Issue was already resolved