wiki.techinc.nl/includes/search
dcausse 31680aaddc Expose SearchEngine specific profiles
This patch introduces a way for SearchEngine implementations to expose
specific search profiles useful to fine-tune the various behaviors related to
search.

A SearchEngine can expose a list of profiles by overriding
SearchEngine::getProfiles( $profileType ), profileType stands for the type of
profile being customized. Two types are added in this patch:
- completion: exposed by ApiQueryPrefixSearch and ApiOpenSearch to control
  the behavior of the algorithm behind "search as you type" suggestions.
- fulltext query independent profiles: exposed by ApiQuerySearch to customize
  query indpendent ranking profiles (e.g. boost by templates/incoming
  links/popularity/...)

This patch allows api consumers that might have been confused by fuzzy
suggestions to switch to stricter profiles and to officialize the behavior
behind the hidden param cirrusUseCompletionSuggester. Or to control the
fulltext ranking behaviors like cirrusBoostLinks=(yes|no).

The list of profiles can be discovered by using ApiSandbox/ApiHelp and is totally
controlled by search engine implementations.

Bug: T132477
Change-Id: I66be724d8975976c98c91badbf421f237e014f89
2016-05-30 20:43:53 +02:00
..
SearchDatabase.php
SearchEngine.php Expose SearchEngine specific profiles 2016-05-30 20:43:53 +02:00
SearchEngineConfig.php Move wgContLang from config to injectable 2016-04-27 11:55:17 -07:00
SearchEngineFactory.php Convert SearchEngine to service containers 2016-04-25 16:25:17 -07:00
SearchExactMatchRescorer.php Fix Undefined index: 0 in SearchExactMatchRescorer.php on line 44 2016-03-31 16:26:37 +02:00
SearchHighlighter.php
SearchMssql.php Replace uses of join() by implode() 2016-03-08 18:24:16 +00:00
SearchMySQL.php
SearchNearMatcher.php Move wgContLang from config to injectable 2016-04-27 11:55:17 -07:00
SearchNearMatchResultSet.php Convert SearchEngine to service containers 2016-04-25 16:25:17 -07:00
SearchOracle.php
SearchPostgres.php Improve code suffering from PHP 5.3's lack of support for foo()[] 2016-02-28 22:49:20 +01:00
SearchResult.php Convert SearchEngine to service containers 2016-04-25 16:25:17 -07:00
SearchResultSet.php search: getInterwikiResults returns array of SearchResultSets 2016-04-14 09:04:12 -07:00
SearchSqlite.php
SearchSuggestion.php Allow titles with falsy title text in suggestions 2016-03-24 16:35:56 -07:00
SearchSuggestionSet.php
SqlSearchResultSet.php Add a rewind function to SearchResultSet 2016-04-13 14:15:31 -07:00