I have list of document ids for which I am doing bulk read using Observable using below code which returns a list of documents found:
I have to add 2 requirements here:
- If there is no document available in couchbase for any key, then I need to retry read operation again by changing the key(using Like operation with truncated key).
- If there is no document found after all retries then I need that key for further processing.
So after processing I should get list of documents found and list of keys for which document is missing.
I am not sure if it can be achieved using N1QL/View/Observables. Plz give me some pointers on how it can be achieved?
Many Thanks in advance.