Is there any way to avoid the "ThinkingSphinx::SphinxError: no enabled
local indexes to search" exceptions when I start searchd without
indexing first? I have a deployment process that starts the initial
indexing asynchronously, but I was hoping to just have TS return empty
searches until the `rake ts:in` task is complete, at which point
searchd will rotate in the fresh indexes... right now I'm getting
"ThinkingSphinx::SphinxError: no enabled local indexes to search" for
every page I visit during the first 3 minutes after deployment,
regardless of whether or not that page's action contains a call to
TS.search.
> Is there any way to avoid the "ThinkingSphinx::SphinxError: no enabled > local indexes to search" exceptions when I start searchd without > indexing first? I have a deployment process that starts the initial > indexing asynchronously, but I was hoping to just have TS return empty > searches until the `rake ts:in` task is complete, at which point > searchd will rotate in the fresh indexes... right now I'm getting > "ThinkingSphinx::SphinxError: no enabled local indexes to search" for > every page I visit during the first 3 minutes after deployment, > regardless of whether or not that page's action contains a call to > TS.search.
> -- > You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. > To post to this group, send email to thinking-sphinx@googlegroups.com. > To unsubscribe from this group, send email to thinking-sphinx+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
On Fri, Jan 7, 2011 at 9:43 PM, Pat Allan <p...@freelancing-gods.com> wrote: > Hi Aaron
> I'm a little surprised that this error is cropping up on every page request > - can you send through a stack trace?
> -- > Pat
> On 07/01/2011, at 5:25 AM, agibralter wrote:
> > Is there any way to avoid the "ThinkingSphinx::SphinxError: no enabled > > local indexes to search" exceptions when I start searchd without > > indexing first? I have a deployment process that starts the initial > > indexing asynchronously, but I was hoping to just have TS return empty > > searches until the `rake ts:in` task is complete, at which point > > searchd will rotate in the fresh indexes... right now I'm getting > > "ThinkingSphinx::SphinxError: no enabled local indexes to search" for > > every page I visit during the first 3 minutes after deployment, > > regardless of whether or not that page's action contains a call to > > TS.search.
> > -- > > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > > To post to this group, send email to thinking-sphinx@googlegroups.com. > > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > > 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 thinking-sphinx@googlegroups.com. > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en.
> Sorry for the delay--you're completely right--it's only on pages that touch (update) models that have associated sphinx indexes with deltas.
> Best, > Aaron
> On Fri, Jan 7, 2011 at 9:43 PM, Pat Allan <p...@freelancing-gods.com> wrote: > Hi Aaron
> I'm a little surprised that this error is cropping up on every page request - can you send through a stack trace?
> -- > Pat
> On 07/01/2011, at 5:25 AM, agibralter wrote:
> > Is there any way to avoid the "ThinkingSphinx::SphinxError: no enabled > > local indexes to search" exceptions when I start searchd without > > indexing first? I have a deployment process that starts the initial > > indexing asynchronously, but I was hoping to just have TS return empty > > searches until the `rake ts:in` task is complete, at which point > > searchd will rotate in the fresh indexes... right now I'm getting > > "ThinkingSphinx::SphinxError: no enabled local indexes to search" for > > every page I visit during the first 3 minutes after deployment, > > regardless of whether or not that page's action contains a call to > > TS.search.
> > -- > > You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. > > To post to this group, send email to thinking-sphinx@googlegroups.com. > > To unsubscribe from this group, send email to thinking-sphinx+unsubscribe@googlegroups.com. > > 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 thinking-sphinx@googlegroups.com. > To unsubscribe from this group, send email to thinking-sphinx+unsubscribe@googlegroups.com. > 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 thinking-sphinx@googlegroups.com. > To unsubscribe from this group, send email to thinking-sphinx+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
> Give the latest TS a try (1.4.2 or 2.0.2), this should hopefully be fine > now (I'm ignoring these errors for object updates).
> Cheers
> -- > Pat
> On 11/01/2011, at 11:22 AM, Aaron Gibralter wrote:
> > Hi Pat,
> > Sorry for the delay--you're completely right--it's only on pages that > touch (update) models that have associated sphinx indexes with deltas.
> > Best, > > Aaron
> > On Fri, Jan 7, 2011 at 9:43 PM, Pat Allan <p...@freelancing-gods.com> > wrote: > > Hi Aaron
> > I'm a little surprised that this error is cropping up on every page > request - can you send through a stack trace?
> > -- > > Pat
> > On 07/01/2011, at 5:25 AM, agibralter wrote:
> > > Is there any way to avoid the "ThinkingSphinx::SphinxError: no enabled > > > local indexes to search" exceptions when I start searchd without > > > indexing first? I have a deployment process that starts the initial > > > indexing asynchronously, but I was hoping to just have TS return empty > > > searches until the `rake ts:in` task is complete, at which point > > > searchd will rotate in the fresh indexes... right now I'm getting > > > "ThinkingSphinx::SphinxError: no enabled local indexes to search" for > > > every page I visit during the first 3 minutes after deployment, > > > regardless of whether or not that page's action contains a call to > > > TS.search.
> > > -- > > > You received this message because you are subscribed to the Google > Groups "Thinking Sphinx" group. > > > To post to this group, send email to thinking-sphinx@googlegroups.com. > > > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > > > 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 thinking-sphinx@googlegroups.com. > > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > > 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 thinking-sphinx@googlegroups.com. > > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > > 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 thinking-sphinx@googlegroups.com. > To unsubscribe from this group, send email to > thinking-sphinx+unsubscribe@googlegroups.com<thinking-sphinx%2Bunsubscribe@ googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en.