Hi,
My documents have both a prefix in the document key and a property type indicating the document type. Should creating indexes on the type be more more efficient than using the meta().id?
CREATE INDEX some_idx ON some_bucket(x, y, z) WHERE META().id LIKE “documentType::%”;
OR
CREATE INDEX some_idx ON some_bucket(x, y, z) WHERE type
= ‘documentType::’;
Thanks,
Keith