Page MenuHomePhabricator

Enable search in all wikidata namespaces combined
Open, LowPublic

Description

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.

Event Timeline

StjnVMF renamed this task from Enable search in all wikidata namespaces combined to unban reguyla.May 18 2018, 5:24 PM
StjnVMF updated the task description. (Show Details)
JJMC89 renamed this task from unban reguyla to Enable search in all wikidata namespaces combined.May 18 2018, 5:31 PM
JJMC89 updated the task description. (Show Details)
EBjune triaged this task as Medium priority.May 31 2018, 5:27 PM
EBjune moved this task from needs triage to This Quarter on the Discovery-Search board.
Vvjjkkii renamed this task from Enable search in all wikidata namespaces combined to jrcaaaaaaa.Jul 1 2018, 1:10 AM
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
CommunityTechBot renamed this task from jrcaaaaaaa to Enable search in all wikidata namespaces combined.Jul 2 2018, 6:43 AM
CommunityTechBot lowered the priority of this task from High to Medium.
CommunityTechBot updated the task description. (Show Details)
CommunityTechBot added a subscriber: Aklapper.

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.

SO are you guys going ahead with implementation on this?

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.

debt lowered the priority of this task from Medium to Low.Mar 28 2019, 5:11 PM
debt moved this task from needs triage to Wikibase Search on the Discovery-Search board.