Is Index on order by field required in N1QL


#1

In n1ql we can sort on value fields using order by, but in a simple view we cannot. So do we require an index on the sort field while using order by. Also will the sorting happen in memory or will it use the disk?


#2

Index is not required or used by ORDER BY. And the sorting happens in memory. We will add disk-based sorting in the future.


#3

Thanks Gerald, for all the responses :smile: