title: Sphinx wildcard searching won't work
body: <p>I have used the following code:</p>
  
  <pre><code>   function searchSphinx2($tofind,$jobtype_id,$payper_id,$onetimeBounds)
      {
          $this-&gt;load-&gt;library('session');
          $this-&gt;load-&gt;library('sphinxclient');
          global $result;
          global $functionresult;
          $functionresult=array();
  
          $this-&gt;sphinxclient-&gt;setServer('localhost', 3312);
          $this-&gt;sphinxclient-&gt;SetMatchMode( SPH_MATCH_ANY );
          $this-&gt;sphinxclient-&gt;SetIndexWeights( array("jobs_index_main"=&gt;10, "jobs_index_delta"=&gt;10,"jobs_index_prefix_main"=&gt;1,"jobs_index_prefix_delta"=&gt;1,"jobs_index_infix_main"=&gt;1,"jobs_index_infix_delta"=&gt;1) );
  
          $this-&gt;sphinxclient-&gt;ResetFilters();
          $this-&gt;sphinxclient-&gt;SetFilter('jobtype_id',$jobtype_id,TRUE);
          $this-&gt;sphinxclient-&gt;SetFilter('payper_id',$payper_id,TRUE);
          $this-&gt;sphinxclient-&gt;SetFilterFloatRange('payamount', $ontimeBounds[0], $ontimeBounds[1], FALSE);
  
          $this-&gt;sphinxclient-&gt;AddQuery("$tofind", "jobs_index_main;jobs_index_delta");
          $this-&gt;sphinxclient-&gt;AddQuery("*$tofind*", "jobs_index_main_prefix;jobs_index_delta_prefix");
          $this-&gt;sphinxclient-&gt;AddQuery("*$tofind*", "jobs_index_main_infix;jobs_index_delta_infix");
          $result = $this-&gt;sphinxclient-&gt;RunQueries();
  </code></pre>
  
  <p>In my data base there is a job with title "Intern"  However, if I search for "inter" I do not get any results.</p>
  
  <p>The indices in my confi file are set up as follows:</p>
  
  <pre><code>index jobs_index_prefix_main
  {
          source  = jobs_main
          path = /var/newsphinx/index/main_prefix
  
          morphology = stem_en
          min_stemming_len = 4
          min_word_len = 3
          min_prefix_len = 3
          prefix_fields = title, contactname
          enable_star =1
  }
  </code></pre>
  
  <p>Can anyone tell me why I am not getting partial word results?</p>