title: sphinx search max_matches not working using sphinx.yml file
body: <p>I am using sphinx search in my rails project. I have <code>sphinx.yml</code> file, i-e.</p>
  
  <pre><code>   defaults: &amp;defaults
  
     enable_wildcard: 1
  
     min_prefix_len: 2
  
     enable_star: 1
  
     max_matches: 25000
  
     development:
  
       &lt;&lt;: *defaults
  
     test:
  
       &lt;&lt;: *defaults
  
     production:
  
       &lt;&lt;: *defaults
  
       pid_file: "RAILS_ROOT/log/searchd.pid"
  
       searchd_file_path: "RAILS_ROOT/config/db/sphinx"
  
       indexer_binary_name: "/usr/local/bin/indexer"
  
       searchd_binary_name: "/usr/local/bin/searchd"
  
       port: 9314
  </code></pre>
  
  <p>In my controller's action, i have follwing code.</p>
  
  <pre><code>    Application.search(query,:with =&gt; options,:order =&gt; "updated_at DESC",:max_matches=&gt; 25_000,
                                                                     :match_mode =&gt; :extended).page(params[:page]).per(11)
  </code></pre>
  
  <p>i am getting error like this.</p>
  
  <pre><code>       searchd error (status: 1): per-query max_matches=25000 out of bounds (per-server max_matches=1000)
  </code></pre>
  
  <p>Any good suggestion?? please.</p>