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
Following the documentation I am able to build an index using Artwork.update_ngram_index; however, some of the datasets I wish to query require the disablement of timeout.
Artwork.update_ngram_index(timeout: false)
Returns the following error:
(byebug) Artwork.update_ngram_index(timeout: false)
*** ArgumentError Exception: wrong number of arguments (given 1, expected 0)
I notice two declarations of update_ngram_index which could be where my issues stem from.
The first doesn't appear to have been updated to take in arguments and is what my code seems to be invoking.
The second was updated to allow arguments, but doesn't seem to get invoked by my code.
I believe to have worked around this issue by directly calling Artwork.each(&:update_ngram_index) though this could be an issue with my own setup if others are not experiencing this.
The text was updated successfully, but these errors were encountered:
This library needs a bit of work, hasn't been updated for a while. Maybe move from Travis-CI to GHA, and add support for mongoid8 first? See the last PRs on https://github.com/mongoid/mongoid-compatibility for some changes to copy-paste.
Following the documentation I am able to build an index using
Artwork.update_ngram_index
; however, some of the datasets I wish to query require the disablement of timeout.Returns the following error:
I notice two declarations of
update_ngram_index
which could be where my issues stem from.The first doesn't appear to have been updated to take in arguments and is what my code seems to be invoking.
The second was updated to allow arguments, but doesn't seem to get invoked by my code.
I believe to have worked around this issue by directly calling
Artwork.each(&:update_ngram_index)
though this could be an issue with my own setup if others are not experiencing this.The text was updated successfully, but these errors were encountered: