Skip to content

Timeout is not respected #3129

Closed
Closed
@lmenezes

Description

@lmenezes

On this issue #3128
if I add a timeout to the query(1ms, for example), the query instantly returns with no results, which is what I would expect.
But if the timeout is big enough(as to allow finding the document), then the query doesn't return at all,which is not what I would expect.
I guess this is the "desired" behavior, since the idea is to return whatever documents could be found before the timeout, and then highlight it and etc.
But if there are such cases where the highlighting is actually the "heavy" part of the query, doesn't it make sense to apply the timeout globally?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions