I am using gem elasticsearch-rails to perform search for messages.However, it does not display the discarded message’s record. I have tried using unscoped too, but that does not work either.
Ex: Message.unscoped.search(‘something’)
How can i get it
I would like to receive soft deleted messages as well
New contributor
Hieutm1908 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.