Using N1QL, Timeout

@victorvilla -

So, the first error you were getting when this thread started was a client timeout, now you are getting a server timeout. Are the client and server timeouts the same? If not, make them the same or extend the timeout(s).

Maybe @colm or @geraldss can help out here?

-Jeff

Great thanks @jmorris !!!
You were totally right, timeouts on client and server were different, I’ve sync them and now it seems that timeout issue is gone !!!

However it returned the document I was looking for in 4 minutes after looking through 1’000,000 docs, so I go back to my previous question, is there any documentation on how to tune this?

@victorvilla,

Do you try to create Index?

http://docs.couchbase.com/4.0/n1ql/n1ql-language-reference/createindex.html

Maybe you could see this:

Regards