MediaWiki/Search: Difference between revisions

add file that went missing
No edit summary
 
Line 16: Line 16:


== CirrusSearch ==
== CirrusSearch ==
We use CirrusSearch as the backend to enhance the search capability. One of the things you can do is view the [{{SERVER}}{{SCRIPTPATH}}/api.php?action=cirrus-mapping-dump Cirrus Mapping] through the API.  Or, look at the [{{SERVER}}/wiki/{{FULLPAGENAMEE}}?action=cirrusdump cirrus properties] for a given page. For more info, see [[CirrusSearch]] or [[mw:API:Search_and_discovery]].
We use CirrusSearch as the backend to enhance the search capability. One of the things you can do is view the [{{SERVER}}{{SCRIPTPATH}}/api.php?action=cirrus-mapping-dump Cirrus Mapping] through the API.  Or, look at the [{{SERVER}}/wiki/{{FULLPAGENAMEE}}?action=cirrusdump cirrus properties] for a given page. For more info, see [[CirrusSearch]] or [[mw:API:Search_and_discovery]].  One thing you may need to do, depending on your usage of redirects and namespaces is to enable <code>$wgCirrusSearchUseCompletionSuggester</code> see https://phabricator.wikimedia.org/T146678 or look at https://github.com/wikimedia/mediawiki-extensions-CirrusSearch/blob/master/tests/jenkins/FullyFeaturedConfig.php for more.


== the "Suggest" feature ==
== the "Suggest" feature ==