title: Problem in implementing Sphinx API along with Cake php
body: <p>I am working on project where I need to implement SphinxSearch with Cake php. So I am simply trying to use a component and behaviour into it. The link to it, is :-</p>
  
  <p><a href="http://bakery.cakephp.org/articles/eugenioclrc/2010/07/10/sphinx-component-and-behavior" rel="nofollow">http://bakery.cakephp.org/articles/eugenioclrc/2010/07/10/sphinx-component-and-behavior</a></p>
  
  <p>I am requesting Sphinx API like below : </p>
  
  <pre><code>$sphinx = array('matchMode' =&gt; SPH_MATCH_ALL, 'sortMode' =&gt; array(SPH_SORT_EXTENDED =&gt; '@relevance DESC'));
  
  $results = $this-&gt;ModelName-&gt;find('all', array('search' =&gt; 'Search_Query', 'sphinx' =&gt; $sphinx));
  
  pr($result);
  </code></pre>
  
  <p>For above it is working fine ,but when I tried to minimise the response time querying to a particular field of the table (using extended match modes,i.e. SPH_MATCH_EXTENDED2) , Sphinx just fails to output any result. The extended query which I used is given below :-</p>
  
  <pre><code>$sphinx = array('matchMode' =&gt; SPH_MATCH_EXTENDED2, 'sortMode' =&gt; array(SPH_SORT_EXTENDED =&gt; '@relevance DESC'));
  
  $results = $this-&gt;ModelName-&gt;find('all', array('search' =&gt; '@Field_name Search_Query', 'sphinx' =&gt; $sphinx));
  
  pr($results);
  </code></pre>
  
  <p>Can anyone recognise where am I going wrong with it? Please help if I am going wrong some where.</p>
  
  <p>Thanks in advance.</p>