Update Search Index on Entry Save Wondering if there is any way to force Craft to update the search index for an entry when it is saved.

Reason I ask is that on our site we have a Location entry type with lat/lon inputs that we use to maintain store locations and plot them on a map. However, when we update the lat/lon coordinates, it does not update the search index and continues to plot the old location on the map even though it is displaying the new address in the text.

We can force it to update by rebuilding the search indexes, the only downside is that it takes a few minutes and renders the site search functions useless until it is done. If there's some way for the entry to automatically update the index when lat/lon coordinates are changed, that would be awesome. Any ideas?
You can do a task resave after elements are entered:

public function resaveElements()
{
    // Queue up a new ResaveElements task
    craft()-&gt;tasks-&gt;createTask('ResaveElements', null, array(
        'elementType' =&gt; ElementType::Entry,
        'criteria'    =&gt; array('section' =&gt; 'search', 'limit' =&gt; null, 'status' =&gt; null,'localeEnabled' =&gt; null)
    ));

    // Start running tasks
    craft()-&gt;tasks-&gt;runPendingTasks();
}