Online demo Privacy policy

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq [2018/12/12 21:45]
sj
faq [2019/05/07 20:59] (current)
sj
Line 182: Line 182:
 **I want to see more hits!** **I want to see more hits!**
  
-Edit sphinx.conf, and set the //max_matches// variable, eg:+Edit config-site.php, and set //MAX_SEARCH_HITS//, eg.:
  
 <​code>​ <​code>​
-searchd { +$config['​MAX_SEARCH_HITS'​] = 2000;
-   ... +
-   ​max_matches = 5000 +
-+
-</​code>​ +
- +
-Then restart searchd. Finally edit config-site.php,​ and set //​MAX_SEARCH_HITS//​ to the same number: +
- +
-<​code>​ +
-$config['​MAX_SEARCH_HITS'​] = 5000;+
 </​code>​ </​code>​
  
Line 352: Line 343:
 **How much memory sphinx requires** **How much memory sphinx requires**
  
-See the explantion at [[http://​sphinxsearch.com/​blog/​2011/​11/​11/​sphinx-memory-consumption/​|http://​sphinxsearch.com/​blog/​2011/​11/​11/​sphinx-memory-consumption/​]].+Connect to sphinx, then run the following statements:
  
 +<​code>​
 +show index main1 status like '​ram_bytes';​
 +show index dailydelta1 status like '​ram_bytes';​
 +show index delta1 status like '​ram_bytes';​
 +</​code>​
 +
 +See the explantion at [[http://​sphinxsearch.com/​blog/​2011/​11/​11/​sphinx-memory-consumption/​|http://​sphinxsearch.com/​blog/​2011/​11/​11/​sphinx-memory-consumption/​]].
Google Analytics Alternative