Act_as_ferret returned result is 10

I am using
@query = Ferret::Search::PrefixQuery.new(“name”, params[:q],:max_terms
=> 1000)

to find the result from the Users table having their name start with the
given parameter.

It only gives me 10 results ever after giving parameter max_terms =>
1000

I dont know what the error is can you please suggest me something.

Thank You in Advance.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs