Skip to content

Something happened with versions I think #114

Closed
@simonhutchings

Description

@simonhutchings

Was using connected to Dockerized version of Meilisearch using follwing config

MeiliSearch.configuration = {
  meilisearch_host: "http://#{Rails.application.credentials[:meilisearch][:host]}:#{Rails.application.credentials[:meilisearch][:port]}",
  meilisearch_api_key: Rails.application.credentials[:meilisearch][:key],
  pagination_backend: :kaminari,
  timeout: 2,
  max_retries: 1,
}

which translates to this

{:meilisearch_host=>"http://localhost:7700", :meilisearch_api_key=>"thisIsAMasterKey", :pagination_backend=>:kaminari, :timeout=>2, :max_retries=>1}

That was working and fine, and can still access the Mini dashboard with those credentials

But from yesterday afternoon, I started getting NoMethodError (undefined method `qualified_version' for MeiliSearch:Module) when running Order.reindex! or doing a search.

I updated to 0.4.1 and reimplemented the module in the Models with include MeiliSearch::Rails instead of include MeiliSearch and MeiliSearch::Rails.configuration in the configuration file, but now get uninitialized constant MeiliSearch::Rails (NameError) on start

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    breaking-changeThe related changes are breaking for the usersbugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions