|
acts_as_ferret: reindexing it too slow: msg#00093lang.ruby.ferret.general
Hi, Recently, I was trying to play around with AAF and found that reindexing table is very slow. Then I started looking into Ferret performance and tried myself and found that it's very fast. Then, I just used Ferret to index my table and it was also very fast. All good. Then why reindexing using AAF is slow. After sometime I found that in the AAF, it uses (:key => :id) in acts_as_ferret method of class_methods.rb. When I removed this condition, everything works fine. =========================== Without the above changes: It took me 8 hours to index 1 million records With changes I guess around 20 minutes. Big difference :-) =========================== I wonder, is their any side effect of this changes. Thanks, SK -- Posted via http://www.ruby-forum.com/. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: QueryParser Exception Handling Problem: 00093, Mark |
|---|---|
| Next by Date: | Re: acts_as_ferret: reindexing it too slow: 00093, Jens Kraemer |
| Previous by Thread: | Ferret debuggingi: 00093, Vyacheslav Zakovyrya |
| Next by Thread: | Re: acts_as_ferret: reindexing it too slow: 00093, Jens Kraemer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |