Skip to content

Document not found immediately after it is saved #231

@bttf

Description

@bttf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions