title: Sphinx realtime updates for attributes
body: <p>I am trying to implement a sphinx search server on a website. The website is to be used for internal tracking. </p>
  
  <p>The database defines a status, which I have configured to be a attribute in sphinx. I need this to be updated in real time without any lag. I also want to use disk indexes so regular updates to the index can be done quite easily and I avoid the SphinxQL. </p>
  
  <p>I have found that this is possible via the UpdateAttribute method of the sphinx API. 
  What I want to know is if it is possible to call the UpdateAttribute() from a MySQL trigger? I thought I could have a php script that takes the required inputs in a get request and then updates the index. Please suggest possible ways to implement as I haven't yet found anything that works. </p>
  
  <p>If you have any other way of implementing the search so that I get attributes updated in real time then please let me know. </p>
  
  <p>Thanks. </p>