You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ahh, the problem here is that the data is being run through Wade's preprocessor, making all letters lowercase, removing punctuation, and removing stop words. This is the same process done for search queries (causing the query to be empty, resulting in all items being returned).
Right now the expected behavior is that the data is preprocessed and the array is mutated, although I guess this isn't the best behavior. I'm working on a new version now.
Hello @kingpixil
Here’s a simplified test case that hopefully clarifies the issue:
Expected behaviour
search("this")
returns an empty array and does not mutate thedata
array.Actual behaviour
search("this")
returns a mutated version of thedata
array.Platforms:
The text was updated successfully, but these errors were encountered: