Skip to content

Karel Minarik karmi

Organizations

Sinatra elasticsearch Rubyonrails.cz
April 21, 2014
karmi commented on pull request elasticsearch/elasticsearch-ruby#54
Karel Minarik

So, to recap, the host_unreachable_exceptions list is there so we can intercept these exceptions and retry the request with another host -- Errno::…

April 21, 2014
Karel Minarik

@dorilla I appreciate very much your assistance and help to @mgtf, but this kind of endless ping pong is precisely why I hate Google Groups -- and …

April 19, 2014
karmi commented on pull request elasticsearch/elasticsearch#5861
Karel Minarik

Arguably, setting the node name is even more important (since it doesn't stick after restart otherwise), and also the data/log path (since it's qui…

April 19, 2014
Karel Minarik
April 18, 2014
Karel Minarik

Please try transport_options (full example in README), will try it myself later. See: http://stackoverflow.com/a/10323743/95696

April 18, 2014
Karel Minarik

@natefox Actually, I think you have a point with this issue. Any HTTP client will have some default timeout (by default, Net::HTTP) is used, and it…

April 18, 2014
Karel Minarik
Models not being indexed automatically
April 18, 2014
Karel Minarik

Hi, closing this, please ping me if you need more help.

April 17, 2014
Karel Minarik

Great!, glad it's working :)

April 17, 2014
Karel Minarik
  • Karel Minarik d70b458
    [STORE] Added integration tests for the Repository pattern
April 17, 2014
Karel Minarik
Trimmed the main `elasticsearch.yml` configuration file
1 commit with 82 additions and 360 deletions
April 17, 2014
April 17, 2014
Karel Minarik
  • Simon Willnauer ff03901
    [TEST] Use client node such that we always have to do a round-trip to…
  • markharwood 5f1d9af
    Documentation fix for significant_terms heading levels
  • 383 more commits »
April 17, 2014
Karel Minarik

@sobrinho As I hope the README makes it clear, you can use the client to perform any API call, including suggest. This will, of course, give you th…

April 17, 2014
Karel Minarik

@konklone Great! (Frankly, I should put it somewhere in the docs and the README).

April 17, 2014
Karel Minarik

Why yes, you can do that already :) begin client.search q: 'BOOM!' rescue Elasticsearch::Transport::Transport::ServerError => e puts "[!] ERROR: #{e.…

April 17, 2014
Karel Minarik

I don't remember seeing these with Curb, on the other hand, they look like safe ones to retry, so I think you can just send the PR with these added...

April 17, 2014
Karel Minarik

So, what should we do, add it to Elasticsearch::Transport::Transport::HTTP::Curb::host_unreachable_exceptions

April 17, 2014
karmi commented on pull request elasticsearch/elasticsearch-rails#71
Karel Minarik

For the discussion about the ActiveRecord, please follow #78.

April 17, 2014
Karel Minarik

Sure there are: client.search q: 'BOOM!' Elasticsearch::Transport::Transport::Errors::BadRequest: [400] {"error":"SearchPhaseExecutionException ... …

April 17, 2014
Karel Minarik
Library-level exception class(es)
April 17, 2014
Karel Minarik
Rails and persistent connections
April 17, 2014
Karel Minarik

Closing, seems like it solved your issue.

April 17, 2014
Karel Minarik
Feedback on elasticsearch-model
April 17, 2014
Karel Minarik

Closing this issue in favour of #71 and #78.

April 17, 2014
Karel Minarik
question: Is there possible to get the result records ids as integer?
April 17, 2014
Karel Minarik

You forgot to create the index with proper settings and mappings, I think -- Profile.__elasticsearch__.create_index! force: true Working code require

April 17, 2014
Karel Minarik
ES as primary data store
April 17, 2014
Karel Minarik

Closing this, let's centralize the discussion in #78.

Something went wrong with that request. Please try again.