Reindexing from query

Is there a simple way to update the index of documents from the outcome of an ORDER BY N1QL query ?

We want to update indexing of documents asynchronously, running node.js with couchbase SDK in the backend of a web app.

The idea is to speed up recurrent queries on big data.

Regards

Create New index

https://blog.couchbase.com/create-right-index-get-right-performance/
https://blog.couchbase.com/offset-keyset-pagination-n1ql-query-couchbase/

1 Like