Hi Yi Distributed indices are useful if you have multiple indices for a model, and want to search across all of those at once. It is not a super common use-case, though.
If you want to disable distributed indices you can by setting `distributed_indices: false` for each environment in `config/thinking_sphinx.yml` - this setting was introduced in TS v3.1.1. -- Pat On 23 Aug 2014, at 7:54 am, Yi Lin <[email protected]> wrote: > Regarding distributed index, why is it necessary in ThinkingSphinx-generated > sphinx.conf? > > Specifically, I am referring to this block (my indexed class is called > Resource): > > index resource > { > } > > If I remove the above, and just have: > > index resource_core > { > ... > } > > would ThinkingSphinx.search still work? Why is the distributed index > necessary in the first place? > > Yi > > > > On Saturday, June 21, 2008 1:17:38 PM UTC-7, Pat Allan wrote: > This is an email just to highlight something that isn't actually an > error, but trips a lot of people up (myself included). > When you run an index on your data, you may get the following error > message: > > distributed index 'model_name' can not be directly indexed; skipping > > A distributed index is made up of other indexes. It doesn't need to be > indexed, but Sphinx tries to anyway, and then complains when it can't. > I'm not sure about the reasoning for this, but it's not important: You > can ignore the error, it doesn't stop anything working, searching and > indexing will happen as expected. > > Cheers > > -- > Pat > e: [email protected] || m: 0413 273 337 > w: http://freelancing-gods.com || p: 03 9386 0928 > discworld: http://ausdwcon.org || skype: patallan > > > > > > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/thinking-sphinx. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/thinking-sphinx. For more options, visit https://groups.google.com/d/optout.
