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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070910/742890f2/attachment.html
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 9/10/07, Benjamin Krause <bk at benjaminkrause.com> wrote:> > 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 > > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070910/ea7adf26/attachment.html
On Mon, Sep 10, 2007 at 08:10:57PM -0400, alan kemp wrote:> ok it is actually version 0.3.2You''ll have to rebuild your indexes, as 0.3.2 still used the lucene compatible index format. cheers, Jens> > On 9/10/07, Benjamin Krause <bk at benjaminkrause.com> wrote: > > > > 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 > > > > _______________________________________________ > > Ferret-talk mailing list > > Ferret-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ferret-talk > >> _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > 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 kraemer at webit.de | 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 On 9/11/07, Jens Kraemer <kraemer at webit.de> wrote:> > 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 > > > > > On 9/10/07, Benjamin Krause <bk at benjaminkrause.com> wrote: > > > > > > 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 > > > > > > _______________________________________________ > > > Ferret-talk mailing list > > > Ferret-talk at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/ferret-talk > > > > > > _______________________________________________ > > Ferret-talk mailing list > > Ferret-talk at rubyforge.org > > 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 > kraemer at webit.de | www.webit.de > > Amtsgericht Dresden | HRB 15422 > GF Sven Haubold, Hagen Malessa > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070911/2f6fef99/attachment-0001.html
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 9/11/07, alan kemp <gonesail at gmail.com> wrote:> > 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 > > > On 9/11/07, Jens Kraemer <kraemer at webit.de> wrote: > > > > 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 > > > > > > > > On 9/10/07, Benjamin Krause <bk at benjaminkrause.com> wrote: > > > > > > > > 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 > > > > > > > > _______________________________________________ > > > > Ferret-talk mailing list > > > > Ferret-talk at rubyforge.org > > > > http://rubyforge.org/mailman/listinfo/ferret-talk > > > > > > > > > _______________________________________________ > > > Ferret-talk mailing list > > > Ferret-talk at rubyforge.org > > > 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 > > kraemer at webit.de | www.webit.de > > > > Amtsgericht Dresden | HRB 15422 > > GF Sven Haubold, Hagen Malessa > > _______________________________________________ > > Ferret-talk mailing list > > Ferret-talk at rubyforge.org > > http://rubyforge.org/mailman/listinfo/ferret-talk > > > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ferret-talk/attachments/20070911/5163af04/attachment.html
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?-- Posted via http://www.ruby-forum.com/.
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 :-) 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 :) I guess you''re using ferret without AAF? If you use AAF, its simple to reindex everything.. just like Paul said .. Ben