Updating the index

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? Automatic reindexing of associated columns acts_as_taggable - Ferret - Ruby-Forum
Which is the same problem I’m seeing.

Britt

On Mon, Nov 06, 2006 at 03:56:51PM -0500, Britt S. wrote:

Ah, is this the answer here? Automatic reindexing of associated columns acts_as_taggable - Ferret - Ruby-Forum
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 :wink:

cheers,
Jens


webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66

On Tue, Nov 07, 2006 at 12:50:46PM -0500, Britt S. 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 [email protected]
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?