Hmm, that’s interesting, though not sure if it’s part of the problem. We shall 
see, though!

You shared two index definitions, but you’re searching on several models. Do 
you get the expected results on any of the models reliably? Can you share all 
index definitions here?

Also, it’s worth noting that the reference to the model in an index definition 
should be a lower-case symbol - e.g. :provider, :source. This also applies when 
adding the callback to those models:

  after_save ThinkingSphinx::RealTime.callback_for(:provider)

Not sure if that’s related either, mind you… but this is an odd problem, so I’m 
really not sure at all why it’s happening!

— 
Pat

> On 8 Sep 2016, at 12:37 PM, Terence Leong <[email protected]> wrote:
> 
> Ah sorry for the confusion, by entries I mean the data in the database that 
> has the parent id assigned like:
> 
> Source 1: contains the id of a provider
> Source 2: does not contain the id of a provider
> 
> the problem only appears on those who contains the ID of a provider.
> 
> -- 
> 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] 
> <mailto:[email protected]>.
> To post to this group, send email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/thinking-sphinx 
> <https://groups.google.com/group/thinking-sphinx>.
> For more options, visit https://groups.google.com/d/optout 
> <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 https://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/d/optout.

Reply via email to