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
{{ message }}
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
The operation: #<Moped::Protocol::Command @Length=112 @request_id=166 @response_to=0 @op_code=2004 @flags=[] @full_collection_name="core_development.$cmd" @Skip=0 @limit=-1 @selector={:text=>"mongoid_container_contacts", :search=>"8044939"} @fields=nil> failed with error 59: "no such command: 'text', bad cmd: '{ text: "mongoid_container_contacts", search: "8044939" }'" See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.
no such command: 'text', bad cmd: '{ text: "mongoid_container_contacts", search: "8044939" }'
Why is this error suddenly occurring and how can I resolve it?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am trying to do a fulltext search. It was working for a while and now the following command is not working:
resp = ::Mongoid::Sessions.default.command(text: "mongoid_container_contacts", search: "8044939")
It fails with the following error:
The operation: #<Moped::Protocol::Command @Length=112 @request_id=166 @response_to=0 @op_code=2004 @flags=[] @full_collection_name="core_development.$cmd" @Skip=0 @limit=-1 @selector={:text=>"mongoid_container_contacts", :search=>"8044939"} @fields=nil> failed with error 59: "no such command: 'text', bad cmd: '{ text: "mongoid_container_contacts", search: "8044939" }'" See https://github.com/mongodb/mongo/blob/master/docs/errors.md for details about this error.
no such command: 'text', bad cmd: '{ text: "mongoid_container_contacts", search: "8044939" }'
Why is this error suddenly occurring and how can I resolve it?
The text was updated successfully, but these errors were encountered: