title: Sphinx_Query failed: no enabled local indexes to search
body: <p>Hi I configured sphinx search in my test server.</p>
  
  <p>Now I am getting this kind of an error "Sphinx_Query failed: no enabled local indexes to search". </p>
  
  <p>I am not getting why this error. Any body can help me plese.</p>
  
  <p>This is my sphinx conf</p>
  
  <pre><code>source objectcollection
  {
      type                    = mysql
      sql_host                = localhost
      sql_user                = root
      sql_pass                = root
      sql_db                  = mydatabase
      sql_port                = 3306  
  
      sql_query                       = \
          SELECT id, id as mid  obtype_id, searchtext from tab_objectcollection;
  
      sql_attr_uint           = mid
      sql_attr_uint           = obtype_id
      sql_query_info      = SELECT * FROM tab_objectcollection WHERE id=$id
  
  }
  
  
  index combinedobject
  {
      source              = objectcollection
      path                = /usr/local/sphinx/var/data/objectcollection
      morphology          = stem_en
      min_stemming_len    = 4
      stopwords           = /usr/local/sphinx/var/data/stopwords.txt
      min_word_len        = 3
      min_prefix_len      = 3
      min_infix_len       = 0
      enable_star         = 1
      phrase_boundary = ., ?, !, U+2026 # horizontal ellipsis
      phrase_boundary_step = 100
      html_strip = 1
  
  }
  
  
  indexer
  {
          # memory limit, in bytes, kiloytes (16384K) or megabytes (256M)
          # optional, default is 32M, max is 2047M, recommended is 256M to 1024M
          mem_limit = 256M
  
          # maximum xmlpipe2 field length, bytes
          # optional, default is 2M
          #
          max_xmlpipe2_field = 16M
  
  
          # write buffer size, bytes
          # several (currently up to 4) buffers will be allocated
          # write buffers are allocated in addition to mem_limit
          # optional, default is 1M
          #
          #write_buffer = 16M
  }
  
  searchd
  {
      listen              = 3312
      max_matches         = 10000
      log                 = /usr/local/sphinx/var/log/searchd.log
      query_log           = /usr/local/sphinx/var/log/query.log
      pid_file            = /usr/local/sphinx/var/log/searchd.pid
  }
  </code></pre>
  
  <p>Thanks</p>