# Disable indexing for an object

**URL:** <https://www.ruby-forum.com/t/disable-indexing-for-an-object/91520>\
**Category:** Ferret\
**Created:** [April 10, 2007, 2:13am UTC](https://www.ruby-forum.com/t/disable-indexing-for-an-object/91520 "2007-04-10T02:13:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Radu\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ec9cab/32.png) [@Radu\_S](https://www.ruby-forum.com/u/Radu_S)\
**Post date:** [April 10, 2007, 2:13am UTC](https://www.ruby-forum.com/t/disable-indexing-for-an-object/91520/1 "2007-04-10T02:13:24Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Radu\_S](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ec9cab/32.png) [@Radu\_S](https://www.ruby-forum.com/u/Radu_S)\
**Post date:** [April 10, 2007, 1:27pm UTC](https://www.ruby-forum.com/t/disable-indexing-for-an-object/91520/2 "2007-04-10T13:27:24Z")

</div>

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](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](http://www.webit.de)

Amtsgericht Dresden | HRB 15422  
GF Sven Haubold, Hagen Malessa
