I have an item search model in my Rails application.
I want to index most of them in ElasticSearch, EXCEPT those that fulfill some condition.
How can i do this?
Overrides update_index in model acceptable solution?
I know that I could also index them all and filter in the search. But they will never be searchable, so I see no reason to index them at all.
Robin source share