Searching for a document immediately after it is saved, i.e. searching for it in its callback/promise will give you no matching results. For example:
client.create({
...
}).then(function (res) {
client.search({ ... }) // no matching results
});
Wildcard query string '*' results in list of matching entries but newly created document missing from that list.
I tried searching after a slight delay (500ms) and the search did come back with the newly saved document.
Searching for a document immediately after it is saved, i.e. searching for it in its callback/promise will give you no matching results. For example:
Wildcard query string '*' results in list of matching entries but newly created document missing from that list.
I tried searching after a slight delay (500ms) and the search did come back with the newly saved document.