http://www.mediawiki.org/wiki/Special:Code/MediaWiki/96711

Revision: 96711
Author:   svemir
Date:     2011-09-10 02:43:21 +0000 (Sat, 10 Sep 2011)
Log Message:
-----------
Forgot to increase the version in r96710, plus some tweaks

Modified Paths:
--------------
    trunk/extensions/SphinxSearch/SphinxSearch.php

Modified: trunk/extensions/SphinxSearch/SphinxSearch.php
===================================================================
--- trunk/extensions/SphinxSearch/SphinxSearch.php      2011-09-10 02:35:01 UTC 
(rev 96710)
+++ trunk/extensions/SphinxSearch/SphinxSearch.php      2011-09-10 02:43:21 UTC 
(rev 96711)
@@ -11,10 +11,9 @@
 
 $wgExtensionCredits['other'][] = array(
        'path'           => __FILE__,
-       'version'        => '0.8.1',
+       'version'        => '0.8.2',
        'name'           => 'SphinxSearch',
        'author'         => array( 'Svemir Brkic', 'Paul Grinberg' ),
-       'email'          => 'svemir at deveblog dot com, gri6507 at yahoo dot 
com',
        'url'            => 
'http://www.mediawiki.org/wiki/Extension:SphinxSearch',
        'descriptionmsg' => 'sphinxsearch-desc'
 );
@@ -28,6 +27,7 @@
 # To completely disable the default search and replace it with SphinxSearch,
 # set this BEFORE including SphinxSearch.php in LocalSettings.php
 # $wgSearchType = 'SphinxMWSearch';
+# All other variables should be set AFTER you include this file in 
LocalSettings
 
 # Prior to version 0.8.0 there was a SphinxSearch search type
 if ( $wgSearchType == 'SphinxSearch' ) {
@@ -72,6 +72,18 @@
 $wgSphinxSearch_sortmode = SPH_SORT_RELEVANCE;
 $wgSphinxSearch_sortby = '';
 
+# How many matches searchd will keep in RAM while searching
+$wgSphinxSearch_maxmatches = 1000;
+
+# When to stop searching all together (if not zero)
+$wgSphinxSearch_cutoff = 0;
+
+# Weights of individual indexed columns. This gives page titles extra weight
+$wgSphinxSearch_weights = array(
+       'old_text' => 1,
+       'page_title' => 100
+);
+
 # Set to true to use MW's default search snippets and highlighting
 $wgSphinxSearchMWHighlighter = false;
 
@@ -87,18 +99,6 @@
 # Path to (optional) personal aspell dictionary
 $wgSphinxSearchPersonalDictionary = '';
 
-# How many matches searchd will keep in RAM while searching
-$wgSphinxSearch_maxmatches = 1000;
-
-# When to stop searching all together (if not zero)
-$wgSphinxSearch_cutoff = 0;
-
-# Weights of individual indexed columns. This gives page titles extra weight
-$wgSphinxSearch_weights = array(
-       'old_text' => 1,
-       'page_title' => 100
-);
-
 # If true, use SphinxMWSearch for search suggestions displayed while typing
 # $wgEnableMWSuggest needs to be set to true as well
 $wgEnableSphinxPrefixSearch = false;


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to