acts_as_indexed icon indicating copy to clipboard operation
acts_as_indexed copied to clipboard

Limits return inconsistent results

Open joshsmith opened this issue 11 years ago • 0 comments

I can run the same query with different limits and get completely different results.

For example, I have a User.create(first_name: "Josh"). When I call User.find_with_index("Josh", { :limit => 10 }), it returns an empty array, but User.find_with_index("Josh", { :limit => 40 }) will return the desired result.

Strangely, anything >= 31 that I've tried so far works as desired, but anything less does not.

joshsmith avatar Aug 22 '13 23:08 joshsmith