-
Notifications
You must be signed in to change notification settings - Fork 58
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
500 Error in namex-api when searching for stop words #203
Comments
The problem here is that after the punctuation is stripped we get 'the' which is then stripped out because it's a stopword so it turns into an empty string (which probably fails on the first solr call). Therefore the fix should just be handling an empty string search in solr.py |
This happened again in production on March 5th 2019 at 13:58:33.707 for the search term "THAT":
|
This happened again in production on March 9th 2019 at 20:58:51.524 for the search term "ASSN":
|
This happened again in production on March 12th 2019 at 12:06:53.863 for the search term "LIMITED CORP.":
|
This happened again in production on March 14th 2019 at 08:04:06.960 for the search term "'N AND 'N":
|
This happened again in production on March 15th 2019 at 11:28:38.953 for the search term "company":
|
This happened again in production on March 15th 2019 at 12:59:20.651 for the search term "AT ":
|
This happened again in production on March 22nd 2019 at 13:03:00.089 for the search term "IT":
|
This happened again in production on March 25th 2019 at 09:43:22.577 for the search term "THIS ":
|
This happened again in production on March 25th 2019 at 15:00:10.064 for the search term "'N AND 'N":
|
This happened again in production on March 26th 2019 at 14:08:18.366 for the search term "INTO THE ":
|
This happened again in production on March 26th 2019 at 14:16:53.656 for the search term "IT ":
|
This happened again in production on March 28th 2019 at 08:36:06.657 for the search term "IT":
|
This happened again in production on March 28th 2019 at 09:20:00.586 for the search term "ASSOCIATION ":
|
This happened again in production on April 11th 2019 at 10:02:31.311 for the search term "AN ":
|
This happened again in production on April 12th 2019 at 10:00:23.274 for the search term "' ":
|
This happened again in production on April 12th 2019 at 12:09:34.819 for the search term " co":
|
This happened again in production on April 17th 2019 at 14:54:37.461 for the search term "it":
|
Describe the bug
A search in namex for "T.H.E." results in a 500 error. This happened in production on 2019-03-04 at 09:58, and was reproduced in the dev environment.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
500 errors should not happen.
The text was updated successfully, but these errors were encountered: