Right now, if we are searching in Wikidata namespaces, if the search uses any item namespaces, only item namespaces are searched. Ideally, if the search specifies all namespaces or any mix, all those namespaces should be searched and results combined.
Note: I do not know yet how to combine results, though we definitely can launch double (or more) search query.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | • Ramsey-WMF | T214544 [Beta Commons]: All searches show a warning about mixing "entity and article namespaces" | |||
Open | None | T194968 Enable search in all wikidata namespaces combined | |||
Resolved | EBernhardson | T218954 Default to article search on commons + wikibase (aka SDC) |
Event Timeline
Comment Actions
After discussing this on the offsite, the current approach seems to be like this:
- For full-text search with several kinds of namespaces, it's probably best to separate the searches and display each kind in the separate tab (we'd need to think about how exactly the UI would work for this)
- For Wikidata completion search, we want to have a combined profile that unites the searches on the backend, using query dispatcher functionality being developed by @dcausse.
Comment Actions
Directly related to this is some documentation about
technical details: https://www.mediawiki.org/wiki/Extension:CirrusSearch/Query_Construction
use cases: https://www.mediawiki.org/wiki/Extension:CirrusSearch/Query_Construction/Use_cases
It is unlikely we will be able to support all use cases detailed there. We will work to figure out which use cases can be discarded, which will enable supporting the rest of the use cases. Until then the optimized entity search will not be available on common. Implementation of T218954 will instead use the less optimal, but still searchable, default CirrusSearch implementation.