Hi,
So I have a model called TextMessage which has attributes id and user_id. I
am using real time indices.
There is one cron process that updates the status field of TextMessage
records. When it does that, following query returns 2 records for each
database record.
TextMessage.search(with: {user_id: current_user.id},order: 'created_at
desc',page: params[:page], per_page: 10 )
When I rebuild the index then everything goes fine. But considering the
fact that I am using realtime indices I do not want to rebuild indexes
everytime.
Please help me to get through this.
Thanks and regards,
Pratik
--
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.