Forum: Ferret ferret creating new index files

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.
2ebf42f8625b86c0e91ae7bd4e2bef52?d=identicon&s=25 Raymond O'Connor (nappin)
on 2008-11-19 07:21
Hi,

We generate our index on another server and then rsync it over nightly
to each webserver.  We run
an old version of AAF on our rails site.  The index represents an
inventory model which is never touched by the rails app (i.e. we never
add/update/delete inventory from rails). Also we only issue
find_by_contents and more_like_this calls on the index and nothing more.
We don't update the index from the webservers ever. In other words, the
index should be strictly read only.

However, I notice throughout the day that files appear in the index.  A
fresh index typically looks like this:
_4p.cfs
segments
segments_4q

But by the end of the day this same index will look like:
_4p_7.del
_4p.cfs
_4q.cfs
 _4r.cfs
_4s.cfs
_4t.cfs
_4u.cfs
 _4v.cfs
_4w.cfs
_4x.cfs
segments
segments_56

Also, if you do an index.size on a fresh index versus one with a lot of
extra files, the size is the same.

Is this normal?  The reason I ask mostly is that ferret seg faults
continually throughout the day for us, and I thought that it might be
related to these extra files appearing.

Thanks
This topic is locked and can not be replied to.