Skip to content

Set Timeout value #42

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

stefanodado
Copy link

Now is possible to set the timeout value to avoid the problem of queries timeout.
I've add an item in config file and modify the library to get the value.

Is possibile to set timeout value ( in seconds, default 30, -1 no timeout ) in the config file to avoid a queries timeout
Modify to get timeout value
@IAmMukeshKumar
Copy link

Hi @stefanodado ,

db.stores.find({ $text: { $search: "java coffee shop" } },{ score: { $meta: "textScore" } }).sort( { score: { $meta: "textScore" } } )

Do you have any equivalent query in this libray for above given query.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants