Jump to content

User talk:Ezzdzhig

Add topic
From mediawiki.org
Latest comment: 5 years ago by Ezzdzhig in topic Problem with search in category.

Problem with search in category.

[edit]

I use CirrusSearch with ElasticSearch. It works fine. But I want to search in the category by default. I see in mediawiki/includes/DefaultSettings.php:


$wgNamespacesToBeSearchedDefault = [

       NS_MAIN => true,

];


I add to LocalSettings.php:

$wgNamespacesToBeSearchedDefault = [

   NS_MAIN => true,

   NS_CATEGORY => true,

];

Then I search category by name and don't see it in the default search result. If I click to search in all locations - I found category. If I click extended search - no result, but I see enabled checkbox Category! It is strange. How can I fix that?


My versions:

MediaWiki 1.34.2

Elasticsearch 6.8.12

CirrusSearch 6.5.4 Ezzdzhig (talk) 10:58, 15 September 2020 (UTC)Reply