The documentation states:

"single_index: set this to true to let this class use a Ferret index  
that is shared by all classes having :single_index set to  
true. :store_class_name is set to true implicitly, as well as  
index_dir, so don’t bother setting these when using this option. the  
shared index will be located in index/<RAILS_ENV>/shared ."

[1] If I'm reading the code correctly, it seems that single-model  
searches will behave the same as before, and AAF/Ferret will add the  
extra column to the query for me. Is this correct?

[2] How can I take advantage of the single-index when doing multi- 
model searches? Through which model will I perform the query? Or do I  
need to do this with raw Ferret queries and not through AAF?

[3] Are there other advantages or gotchas that I'm missing?

Thanks,
John

_______________________________________________
Ferret-talk mailing list
Ferret-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to