-
Notifications
You must be signed in to change notification settings - Fork 236
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
ranker.score(idx, query) runs indefinitely #206
Comments
same here, please fix this |
I am seeing this on Python 3.7 as well. According to other students in my class, this functionality works correctly on Python 3.5 (which I will try soon). (Unfortunately, since this is a homework assignment, I cannot provide any more details.) |
@mikepigott Did you end up finding a solution? Downgrading to Python 3.5 didn't work for me, unfortunately. |
As an update: running my Flask app with the "threaded" flag set to False solved the issue. I.e., changing: |
I am running the search function from my Flask app. The step ranker.score(idx, query) runs indefinitely. Could you please check and help me with any pointers? Thank you.
Dataset used: data.dat attached.
Code:
Issue: The application returns results for a single search currently.
During the second search, the below steps are completed:
The step ranker.score() runs indefinitely during the second search.
Workaround: The Flask application requires a restart for checking different queries.
The text was updated successfully, but these errors were encountered: