File tree 1 file changed +18
-14
lines changed
src/content/doc-surrealql/statements/define
1 file changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -349,27 +349,31 @@ Building indexes can be lengthy and may time out before they're completed. Use t
349
349
``` surql
350
350
-- Create an INDEX concurrently
351
351
DEFINE INDEX test ON user FIELDS email CONCURRENTLY;
352
+ INFO FOR INDEX test ON TABLE user;
353
+ INFO FOR INDEX test ON TABLE user;
352
354
```
353
355
354
356
``` surql
355
357
-- Check the indexing status
356
- INFO FOR TABLE example ;
358
+ INFO FOR INDEX test ON TABLE user ;
357
359
```
358
360
359
- ``` surql
361
+ ``` surql title="Possible response"
362
+ -- Query
363
+
360
364
{
361
- events : {},
362
- fields: {} ,
363
- tables: {},
364
- indexes: {
365
- test: {
366
- // highlight-start
367
- building: { status: 'built' },
368
- sql: 'DEFINE INDEX example ON example FIELDS example'
369
- // highlight-end
370
- }
371
- },
372
- lives: {},
365
+ building : {
366
+ count: 0 ,
367
+ status: 'initial'
368
+ }
369
+ }
370
+
371
+ -- Query
372
+
373
+ {
374
+ building: {
375
+ status: 'built'
376
+ }
373
377
}
374
378
```
375
379
You can’t perform that action at this time.
0 commit comments