Forum: Ferret Double work at Model.rebuild_index

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
21cf81c94ab6711c733bf629075582cc?d=identicon&s=25 Manoel Lemos (Guest)
on 2007-04-06 16:59
I'm noting that every time I run Model.rebuild_index its running twice
the rebuild_index. Also, on ferret_index.log there is only one small
difference from the first and second time, see:

First time it shows:

rebuild index: []
reindexing model User

After it finishes, it automatically starts the second time and shows;

rebuild index: [["User"]]
reindexing model User

The full log is bellow:

[92140-AA:~/web/blogblogs/log] bbs$ more ferret_index.log
rebuild index: []
reindexing model User
reindex model User : 0.00% complete : 767.16 secs to finish
reindex model User : 8.57% complete : 722.07 secs to finish
reindex model User : 17.15% complete : 671.12 secs to finish
reindex model User : 25.72% complete : 610.03 secs to finish
reindex model User : 34.29% complete : 561.25 secs to finish
reindex model User : 42.87% complete : 504.91 secs to finish
reindex model User : 51.44% complete : 445.21 secs to finish
reindex model User : 60.01% complete : 375.28 secs to finish
reindex model User : 68.59% complete : 314.97 secs to finish
reindex model User : 77.16% complete : 247.31 secs to finish
reindex model User : 85.73% complete : 179.72 secs to finish
reindex model User : 94.31% complete : 71.18 secs to finish
Created Ferret index in:
/home/bbs/web/blogblogs/script/../config/../index/production/user
rebuild index: [["User"]]
reindexing model User
reindex model User : 0.00% complete : 799.56 secs to finish
reindex model User : 8.57% complete : 743.24 secs to finish
reindex model User : 17.15% complete : 672.42 secs to finish
reindex model User : 25.72% complete : 622.77 secs to finish
reindex model User : 34.29% complete : 555.91 secs to finish
reindex model User : 42.87% complete : 496.16 secs to finish
reindex model User : 51.44% complete : 432.66 secs to finish
reindex model User : 60.01% complete : 367.35 secs to finish
reindex model User : 68.59% complete : 321.54 secs to finish
reindex model User : 77.16% complete : 243.99 secs to finish
reindex model User : 85.73% complete : 171.60 secs to finish
reindex model User : 94.31% complete : 69.53 secs to finish
Created Ferret index in:
/home/bbs/web/blogblogs/script/../config/../index/production/user
21cf81c94ab6711c733bf629075582cc?d=identicon&s=25 Manoel Lemos (mlemos)
on 2007-04-13 20:10
Any news on that?
C9dd93aa135988cabf9183d3210665ca?d=identicon&s=25 Jens Kraemer (Guest)
on 2007-04-16 09:57
(Received via mailing list)
On Fri, Apr 13, 2007 at 08:10:16PM +0200, Manoel Lemos wrote:
> Any news on that?

I'll try to fix this the next days.

Jens

--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
kraemer@webit.de | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa
21cf81c94ab6711c733bf629075582cc?d=identicon&s=25 Manoel Lemos (mlemos)
on 2007-04-16 13:05
Great Jens... its not a show stopper, but it waste a lot of time on big
amount of datas.
This topic is locked and can not be replied to.