Disable indexing for an object


#1

Hi,

I have a project where the user adds content to the database, but before
it’s indexed they have to confirm it via email.

How can I disable indexing for just one particular object, and then
after confirmation let ferret know about it?

  • Radu

#2

On Tue, Apr 10, 2007 at 02:13:24AM +0200, Radu S. wrote:

Hi,

I have a project where the user adds content to the database, but before
it’s indexed they have to confirm it via email.

How can I disable indexing for just one particular object, and then
after confirmation let ferret know about it?

please see
http://projects.jkraemer.net/acts_as_ferret/rdoc/classes/ActsAsFerret/InstanceMethods.html#M000027
for information about how to disable ferret indexing for a record.

You can manually trigger the indexing of a record by calling
ferret_update on it.

Jens


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
removed_email_address@domain.invalid | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa