Closed jeremylynch closed 1 year ago
Hi @jeremylynch!
Have you tried this?
class Book < ApplicationRecord
include MeiliSearch::Rails
meilisearch do
distinct_attribute [:title]
end
end
I believe this is not an error since we have this config declared here: lib/meilisearch-rails.rb:55
Would be great if we could support the
distinctAttribute
https://www.meilisearch.com/docs/learn/configuration/distinct