Hey Jens,

I upgraded to the latest version. Everything works great, it even 
queries the results more efficiently. Great job!

I don't see any method for total_hits for multi_search. The 
model.total_hits works fine when you are just searching on one model.

Any idea how to do only total_hits with multi_search?


Also, I added a little fix to multi_search to allow users to include 
associations even if it works on one model but not the other. Here is 
what the code looks like. It currently works great on one-level include 
and somewhat hacky on two-level associations. Maybe you can find some 
use for it?

http://pastie.caboo.se/63435

Aryk




-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to