title: SphinxSearch: Cannot get result from (remote) agent
body: <p>I build 2 searchd instance on different server(namely A and B) and build a distributed index on A. However, when I query A from client, I only got result from A's index. My problem is I cannot get result from B' index, I am pretty sure I configure correct.</p>
  
  <p>I tried:
  * replace hostname with IP adresses
  * I am pretty sure that I have not get result from B's index</p>
  
  <p>A's sphinx.conf</p>
  
  <pre><code>index distributed_index
  {
      type = distributed
      local = A_index
      agent = 192.168.13.189:9312:B_index
      agent_connect_timeout = 1000
      agent_query_timeout = 3000
  }
  </code></pre>
  
  <p>client query code(python)</p>
  
  <pre class="lang-py prettyprint-override"><code>import sphinxapi
  sphinx_host = 'A'
  sphinx_port = 9312
  SphinxClient = sphinxapi.SphinxClient()
  SphinxClient.SetServer(sphinx_host,sphinx_port)
  SphinxClient.SetMatchMode(sphinxapi.SPH_MATCH_EXTENDED)
  res = SphinxClient.Query("")
  </code></pre>
  
  <p>when I <code>indexer --all --rotate</code>, got a WARNING:skipping non-plain index 'distributed_index'</p>
  
  <p>I expect results from both from A and B when I query from client.</p>