Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Configuring the port for Tire #304

Closed
matsko opened this Issue Apr 5, 2012 · 2 comments

Comments

Projects
None yet
2 participants

matsko commented Apr 5, 2012

Is there anyway to instruct Tire.configure to set the port of the client to a different port than its default 9200? I've configured my elasticsearch daemon to use a different port for every project that I have using it.

@karmi karmi closed this Apr 5, 2012

matsko commented Apr 5, 2012

So if you were to replicate the default url, then syntax ends up being:

Tire.configure do
  url "http://0.0.0.0:9200"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment