Hi Jeff

You can re-index specific models using something like the following:
  indexer --config config/production.sphinx.conf model_core model_delta
  rake ts:restart

Don't add model_delta if you don't have delta indexes on that model.

Cheers

-- 
Pat

On 20/10/2010, at 5:49 AM, JeffLuckett wrote:

> In our dev environment, we essentially use a copy of our prod
> database.
> 
> Rebuilding indexes on our models with lots of records takes a long-ish
> time, and we're indexing lots of models for different purposes.
> 
> When doing development on new functionality that requires new Sphinx
> indexes, we end up running ts:rebuild quite a bit for testing. The
> rebuild time really adds up.
> 
> Is it possible to tell TS to ONLY do the rebuild on a particular
> model ... or to exclude specified models for use during development/
> testing?
> 
> Thanks,
> -Jeff
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Thinking Sphinx" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/thinking-sphinx?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en.

Reply via email to