Just on the query that you are running, are you always doing a SELECT * or do you only need to return the values from certain fields?
It’s easy enough to give suggestions to cover the WHERE statement, but if you’re doing a SELECT * then you will take a performance hit as the whole document needs to be retrieved.
Thanks for the really fast answer. I only need to return the value from certain fields. The SELECT * was only an example. I’m more interested in how to setup a proper index.
Thanks a lot clinton1ql. It works and the response time is very fast. I have learned a lot. I am used to mysql so this is completely new to me. I’t been a while since I was this exited about a database