79451675

Date: 2025-02-19 14:24:50
Score: 1.5
Natty:
Report link

turns out I can do things like this and the result is satisfying my condition

fields_to_exclude.each do |excluded_field|
        configure excluded_field do
          searchable false
        end
end

fields_to_exclude is an array of field you wanted to exclude from search during Edit. Thanks for people that has tuned in

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Michael Wijaya