Can you try setting max_matches and limit in your search call to 1000?
Image.facets(
:with => {:provider_id => provs_list},
:max_matches => 1000,
:limit => 1000
)
--
Pat
> --
> You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to thinking-sphi...@googlegroups.com.
> To post to this group, send email to thinkin...@googlegroups.com.
> Visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
Sorry for the hassle.
--
Pat
Are you passing in a :page or :offset option to your search? It looks like it's trying to request the second page of results, but there's only one, due to max_matches being set to the largest possible page size.
So, if you are using :page or :offset, remove that option, see if that helps.
Cheers
--
Pat
So, instead of "facets = Image.facets(keywords, cearch)", try "facets = Image.facets(keywords, cearch.except(:per_page))".
facets = Image.facets(keywords, cearch.except(:page, :per_page))
Great to know it's working now!