Hi Surbhi I don't use Windows, so we may hit issues that I don't have a clue about... but let's see how we go. Firstly: is Sphinx running when you delete the post?
-- Pat On 30/10/2010, at 11:11 PM, Surbhi wrote: > Hi, > > I am using thinking Sphinx 1.3.20 on windows platform. > > I have a model Post which is indexed as follows - > > # Sphinx server indexing > define_index do > indexes title ,:sortable => true > indexes description > indexes language_id > indexes [user(:first_name),user(:last_name)],:as=>:user_name > indexes ratings.rating, :as => :rating > indexes state > has created_at > set_property :delta => true > end > > When a post is destroyed (post.destroy) the application hangs and the > request is not completed. (though the post is destroyed from the > database) > > On the other hand when I delete a post (post.delete) the application > does not hang. > > Is there any problem with the way the model has been indexed? > > > Thanks, > Surbhi. > > -- > 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.
