dokuwiki-sphinxsearch-plugin – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <?php |
2 | /** |
||
3 | * Options for the sphinxsearch plugin |
||
4 | * |
||
5 | * @author Yaroslav Vorozhko <yaroslav@ivinco.com> |
||
6 | */ |
||
7 | |||
8 | $conf['host'] = 'localhost'; |
||
9 | $conf['port'] = 9312; |
||
10 | $conf['index'] = 'dk_main'; |
||
11 | $conf['maxresults'] = 10; |
||
12 | $conf['showversion'] = 1; |
||
13 | $conf['snippetsize'] = 200; |
||
14 | $conf['aroundwords'] = 5; |
||
15 | |||
16 | //main search matching weights |
||
17 | $conf['body_priority'] = 3; |
||
18 | $conf['title_priority'] = 3; |
||
19 | $conf['namespace_priority'] = 1; |
||
20 | $conf['pagename_priority'] = 3; |
||
21 | |||
22 | //"Matching pagenames" search matching weights |
||
23 | $conf['mp_namespace_priority'] = 1; |
||
24 | $conf['mp_pagename_priority'] = 2; |