Hi all, I am a NIQL newbie and am struggling to create an index for gender. When I create an index with the syntax:
CREATE INDEX gender_ID ON sandbox(gender)
the index is created successfully but no items are displayed on the Index summary page. I include a screenshot of the structure of a document in my bucket
CREATE INDEX ix1 ON `sandbox` ( DISTINCT ARRAY g.resource.gender FOR g IN entry END ) WHER type = "searchset";
SELECT *
FROM sandbox
WHERE type = "searchset" AND ANY g IN entry SATISFIES g.resource.gender = "male" END;