Answer by vsr for Couchbase N1QL SELECT query using ORDER BY is very slow
In CB 4.5.0 and above Try one of the following indexes and modified query below. The index can be used for any topic The query predicate on topic is equality changing order by to include topic will not...
View ArticleCouchbase N1QL SELECT query using ORDER BY is very slow
The following query is very slow:select meta(d).id, timestamp_utc, d.headline, d.text from data_01 d where type="news" and topic="some_news" and timestamp_utc is not null order by timestamp_utc asc...
View Article
More Pages to Explore .....