Different methods of indexing

Hi there, what are the different methods available to use when creating indices using node SDK? I noticed in Ottoman you can specify the ‘type’ of indices (refdoc, n1ql, view, etc.). But I’ve only seen examples of CREATE INDEX using ‘gsi’ in Node SDK. Are there different methods that user can specify when creating indices? If so, what are the performance implications? Thank you!