shaunp
1
I have just upgraded to acts_as_ferret-0.4.4 and am experiencing some
unexpected behaviour. Although the number of search results can be many
e.g.
@search_products = Product.find_with_ferret(“query”)
@search_products.total_size = 110
…if I iterate over the @search_results result set my collection never
exceeds 10. e.g. the code
for product in @search_products
will only iterate over 10 product items.
My model config hasn’t changed since I upgraded
class Product < ActiveRecord::Base
acts_as_ferret :fields => [ ‘part_number’, ‘display_name’,
‘description’ ]
end
Have I missed something in the upgrade that is limiting my result set to
10?
Shaun
shaunp
2
I am also facing same problem with AAF-0.4.4… Please update if you
find any solution.
Thanx
Shaun Perkinson wrote:
I have just upgraded to acts_as_ferret-0.4.4 and am experiencing some
unexpected behaviour. Although the number of search results can be many
e.g.
@search_products = Product.find_with_ferret(“query”)
@search_products.total_size = 110
…if I iterate over the @search_results result set my collection never
exceeds 10.
shaunp
3
Hi,
Its resolved… I actually modified my model’s find_by_content’s
results…now I returned it back and its working.
Santosh T. wrote:
I am also facing same problem with AAF-0.4.4… Please update if you
find any solution.
Thanx
Shaun Perkinson wrote:
I have just upgraded to acts_as_ferret-0.4.4 and am experiencing some
unexpected behaviour. Although the number of search results can be many
e.g.