xref: /plugin/sphinxsearch-was/conf/default.php (revision 82:9160a12cd369)
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;
25