karmi/tire — Issue #202: percolate doesn't work with freshly installed ElasticSearch
Author: wbzyl
Created: 2012-01-12 14:19:17+00:00
State: open

Let's begin with:

tar zxvf elasticsearch-0.18.6.tar.gz
elasticsearch-0.18.6/bin/elasticsearch -f

Next, run the [percolate-bug.rb](https://gist.github.com/1600728) script:

ruby percolate-bug.rb
'OMG i can has' matches queries nil # should be ["memes", "newspeak"]
'OMG i can has' matches queries: ["memes", "newspeak"] # or, ocassionally, [] (empty array)
'OMG i can has' matches queries ["memes", "newspeak"] # ok

I use ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux]

--Włodek Bzyl