User talk:Ezzdzhig
Add topicAppearance
Latest comment: 5 years ago by Ezzdzhig in topic Problem with search in category.
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
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)