karmi/tire — Issue #228: Getting an error when calling query even though ES returns results (tire does not see them though)
Author: chanced
Created: 2012-02-05 00:03:27+00:00
State: open

I have a single model indexed with Tire called "Users". Within that model, I have several nested elements (via has_many) that are also indexed. Indexing in Elastic Search works fine but Tire blows up when it parses the results.

I'm not sure if I have my indexes setup properly or what, but I have been banging my head against the wall all day trying to figure this out. Any/all help would be greatly appreciated. I've included the rails console output, the results from ES, as well as the User model and the search model.

https://gist.github.com/f31642d01ab9dd5a7f99