Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
8.4.4
-
Unknown
-
Description
Use case:
- Go to Administration: Localization
- Set the Default Language to English
- Create a new page (P1)
- Go to Administration: Localization
- Set the Default Language to French
- Search for P1
P1 does not appear in the search results unless you tick English inside the Language facet.
By default Solr ticks the "No Language" and the current language for the Language facet.
I don't think this behaviour is user friendly.
Filters are supposed to help users find what they are searching for easier, but a certain filter shouldn't be enforced.
This issue can be fixed by deleting this line: https://github.com/xwiki/xwiki-platform/blob/stable-8.4.x/xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-ui/src/main/resources/Main/SolrSearchConfig.xml#L74