Ferret index file(s)

I am running version 3.2 of ferret and would like to upgrade to a more
current version. will my existing 3.2 index files be compatible?

thanks,
AK

alan kemp schrieb:

I am running version 3.2 of ferret and would like to upgrade to a more
current version. will my existing 3.2 index files be compatible?
Alan,

are you sure about the version number? the current version of ferret is
0.11.4 … so i’m not sure you’ve got the right number …

check it via “gem list ferret”.

Ben

ok it is actually version 0.3.2

On Mon, Sep 10, 2007 at 08:10:57PM -0400, alan kemp wrote:

ok it is actually version 0.3.2

You’ll have to rebuild your indexes, as 0.3.2 still used the lucene
compatible index format.

cheers,
Jens

check it via “gem list ferret”.

Ben


Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk


Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk


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
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

ok thanks.
does anyone know if there is a reasonable way to rebuild the indexes
with
Ferret or some Ferret utility?
also is the threading and performance better with version 0.11.4?
0.3.2 seems to take a lot of CPU time for searches!!

cheers,
Alan

The normal way would be to rebuild your index completely, from the
source data. That eliminates the need to do any conversion.

A simple call to Model.rebuild_index should do the job.

alan kemp wrote:

to be MORE specific: I would like to convert the Ferret index files to
version 0.11.4 from version 0.3.2 … I want to do this by reading the
index
file values and outputting them to a file … then importing them with
the
newer version and writing out the new index files. is this a good idea?

to be MORE specific: I would like to convert the Ferret index files to
version 0.11.4 from version 0.3.2 … I want to do this by reading the
index
file values and outputting them to a file … then importing them with
the
newer version and writing out the new index files. is this a good idea?

On 2007-09-11, at 4:01 PM, alan kemp wrote:

to be MORE specific: I would like to convert the Ferret index files
to version 0.11.4 from version 0.3.2 … I want to do this by
reading the index file values and outputting them to a file …
then importing them with the newer version and writing out the new
index files. is this a good idea?

alan,

no, it’s not :slight_smile: Just run the same process, that generated the data
in the first place… You won’t get all information you need from the
ferret index… and no-one here will be able to help you on a ferret
0.3.2 question :slight_smile:

I guess you’re using ferret without AAF? If you use AAF, its simple
to reindex everything… just like Paul said …

Ben