Hello,
I am encountering an issue while creating the primary index on the bucket.
Below are two ways that i tried to create the index, none of them work, all failed with TimeoutException.
SimpleN1qlQuery simple = N1qlQuery.simple("CREATE PRIMARY INDEX ON bucket");
N1qlQueryResult query = bucket.query(simple);
Hello, I am encountering an issue while creating the primary index on the bucket.
Below are two ways that i tried to create the index, none of them work, all failed with TimeoutException.
SimpleN1qlQuery simple = N1qlQuery.simple("CREATE PRIMARY INDEX ON
bucket
"); N1qlQueryResult query = bucket.query(simple);boolean primaryIndex = bucket.bucketManager().createN1qlPrimaryIndex(true, false);
without index, we cannot test the n1ql queries.
Any suggestions please ? thank you in advance