Details
-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
None
Description
Frequently hit issue with first time users trying out Couchbase
After importing/loading a dataset, running a N1QL query for the first time will result in "No index found" message. N1QL requires an index to be created to run queries.
[
{ "code": 4000, "msg": "No index available on keyspace `default`:`test`.`_default`.`_default` that matches your query. Use CREATE PRIMARY INDEX ON `default`:`test`.`_default`.`_default` to create a primary index, or check that your expected index is online.", "query": "select * from test._default._default;" }]
11/02 Met with Eben and Kamini, the plan would be to
Show up the "Create primary index" button similar to what we see in the "Advice" tab for creating secondary indexes.
Attachments
1.
|
Backport MB-49322 to 6.6.4 | Open | Eben Haber |