Search being flaky -- not working consistently, then starting to work next morning


(doug livesey) #1

Hi -- I'm developing a Rails app with elasticsearch (using the HTTP API).
I'm just a bit concerned, as last night elasticsearch was consistently
failing to search for objects that contained arrays of integers.
If those integers were changed to strings, then the search worked, so I
posted a question about that to this list.
This morning, I thought "Oh, well -- I'll just use strings for id arrays for
now", but before I could make the change, all my tests were suddenly
passing.
I went to the terminal & played with cURL, and indeed confirmed that the
filter searches on arrays of integers that weren't working last night now
were.
Is this weird, anomalous behaviour?
If so, is it very rare?
I'm a little worried, as I'm about to put elasticsearch into our production
stack as a very major component, so any reassurance that people could offer
would be very appreciated! :slight_smile:
Cheers,
Doug.


(ppearcy) #2

Sounds really sketchy to me and I've never observed such behavior.

Are you sure you're the only one touching this stuff?

I'd recommend writing an automated test that runs at some interval to
see if this inconsistent behavior can be consistently reproduced.

Thanks

On Oct 12, 4:20 am, doug livesey biot...@gmail.com wrote:

Hi -- I'm developing a Rails app with elasticsearch (using the HTTP API).
I'm just a bit concerned, as last night elasticsearch was consistently
failing to search for objects that contained arrays of integers.
If those integers were changed to strings, then the search worked, so I
posted a question about that to this list.
This morning, I thought "Oh, well -- I'll just use strings for id arrays for
now", but before I could make the change, all my tests were suddenly
passing.
I went to the terminal & played with cURL, and indeed confirmed that the
filter searches on arrays of integers that weren't working last night now
were.
Is this weird, anomalous behaviour?
If so, is it very rare?
I'm a little worried, as I'm about to put elasticsearch into our production
stack as a very major component, so any reassurance that people could offer
would be very appreciated! :slight_smile:
Cheers,
Doug.


(Shay Banon) #3

Yea, sounds strange, it sounds strange that its something in elasticsearch,
but if you manage to repro, will be happy to have a look.

On Wed, Oct 12, 2011 at 7:52 PM, ppearcy ppearcy@gmail.com wrote:

Sounds really sketchy to me and I've never observed such behavior.

Are you sure you're the only one touching this stuff?

I'd recommend writing an automated test that runs at some interval to
see if this inconsistent behavior can be consistently reproduced.

Thanks

On Oct 12, 4:20 am, doug livesey biot...@gmail.com wrote:

Hi -- I'm developing a Rails app with elasticsearch (using the HTTP API).
I'm just a bit concerned, as last night elasticsearch was consistently
failing to search for objects that contained arrays of integers.
If those integers were changed to strings, then the search worked, so I
posted a question about that to this list.
This morning, I thought "Oh, well -- I'll just use strings for id arrays
for
now", but before I could make the change, all my tests were suddenly
passing.
I went to the terminal & played with cURL, and indeed confirmed that the
filter searches on arrays of integers that weren't working last night now
were.
Is this weird, anomalous behaviour?
If so, is it very rare?
I'm a little worried, as I'm about to put elasticsearch into our
production
stack as a very major component, so any reassurance that people could
offer
would be very appreciated! :slight_smile:
Cheers,
Doug.


(system) #4