I''ve been reading through the lucene, ferret, and aaf docs, but I''m still a bit new at full text indexing. When I create a new instance of an indexed model, and save it, it doesn''t show up in searches. Should I have to update the index of the entire model (which works) before it will return in queries? Britt
Ah, is this the answer here? http://www.ruby-forum.com/topic/81658#new Which is the same problem I''m seeing. Britt On 11/6/06, Britt Selvitelle <anotherbritt at gmail.com> wrote:> I''ve been reading through the lucene, ferret, and aaf docs, but I''m > still a bit new at full text indexing. > > When I create a new instance of an indexed model, and save it, it > doesn''t show up in searches. Should I have to update the index of the > entire model (which works) before it will return in queries? > > Britt >
On Mon, Nov 06, 2006 at 03:56:51PM -0500, Britt Selvitelle wrote:> Ah, is this the answer here? http://www.ruby-forum.com/topic/81658#new > Which is the same problem I''m seeing.Well, If you use some other plugin that does magic things after saving your record (lice acts_as_taggable does), then this answer might as well solve your problem ;-) cheers, Jens -- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66
And if I don''t? Must I call rebuild_index after a new record is created? On 11/7/06, Jens Kraemer <kraemer at webit.de> wrote:> On Mon, Nov 06, 2006 at 03:56:51PM -0500, Britt Selvitelle wrote: > > Ah, is this the answer here? http://www.ruby-forum.com/topic/81658#new > > Which is the same problem I''m seeing. > > Well, If you use some other plugin that does magic things after saving > your record (lice acts_as_taggable does), then this answer might as well > solve your problem ;-) > > cheers, > Jens > > > > -- > webit! Gesellschaft f?r neue Medien mbH www.webit.de > Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de > Schnorrstra?e 76 Tel +49 351 46766 0 > D-01069 Dresden Fax +49 351 46766 66 > _______________________________________________ > Ferret-talk mailing list > Ferret-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/ferret-talk >
On Tue, Nov 07, 2006 at 12:50:46PM -0500, Britt Selvitelle wrote:> And if I don''t? Must I call rebuild_index after a new record is created?no, aaf will update the index after save and create operations. if it doesn''t, this is a bug. Jens -- webit! Gesellschaft f?r neue Medien mbH www.webit.de Dipl.-Wirtschaftsingenieur Jens Kr?mer kraemer at webit.de Schnorrstra?e 76 Tel +49 351 46766 0 D-01069 Dresden Fax +49 351 46766 66