Hello all,
I’ve just recently gotten my ActiveRecord models indexed properly in my
Rails App. Woohoo! So I’ve started testing some searches.
Is there some limit to acts_as_ferret that only allows it to return 10
results? I’m searching for common terms in my data that I know return
many results, but I only ever get at most 10 results.
This is in a db with 350k rows:
Comment.find_by_contents(“ian”).size
=> 10
The following SQL returns 1359 rows:
SELECT count(*) FROM comments where comment like ‘% ian %’;
My comment model has this:
acts_as_ferret :fields => [ ‘comment’ ]
Anything I’m doing wrong here?
Thanks!
Ian.