Hello,
> Le 16 oct. 2019 à 16:48, David Causse <[email protected]> a écrit :
>
> On Wed, Oct 9, 2019 at 6:13 PM Kévin Bois <[email protected]
> <mailto:[email protected]>> wrote:
> Hello,
> This error was indeed a disk space problem, following your advice I did reset
> the read-only flag.
>
> I came across multiple errors during the different maintenance scripts that I
> somehow resolved with a bit of googling, by installing those elasticsearch
> plugins :
> https://gerrit.wikimedia.org/r/plugins/gitiles/search/extra/
> <https://gerrit.wikimedia.org/r/plugins/gitiles/search/extra/>
>
> Then I had an error when trying to search something, something like "unknown
> highlighter of type [experimental"] which was resolved by :
> https://gerrit.wikimedia.org/r/plugins/gitiles/search/highlighter/
> <https://gerrit.wikimedia.org/r/plugins/gitiles/search/highlighter/>
>
> Yes indeed these plugins are needed by CirrusSearch when Wikibase integration
> is enabled, we definitely need to improve the documentation.
>
>
> 1/ So at this point, the search is working, but I still have a warning upon
> requesting something : "A warning has occurred while searching: Mixing entity
> and article namespaces in search is currently not supported. Only entity
> namespaces will be searched." It appears there is nothing in the log file for
> this warning.
>
>
> You are running an old version of WikibaseCirrusSearch. We no longer display
> this warning message.
> The classic page model and wikibase model are completely different and this
> is a real challenge to provide a seamless and integrated search experience
> for both types of data. The consensus was to provide an "optimized" query for
> the wikibase model only if the namespaces requested do include Items types.
> Example:
> - searching on a Item and Property namespace: wikibase optimized
> - searching on Help and Item: warning displayed (your version), wikidata
> production version: fallback to the classic wiki model
> - searching on the default namespaces: it's dependent on your wiki
> configuration, if you don't setup the list of searched namespaces according
> to this limitation you will see this warning message for default searches
>
> In other words: wgNamespacesToBeSearchedDefault[1] needs to be configured in
> a way that does not mix Item/Property namespaces with Wikipage namespaces.
>
Ok, as I understand I need a more up to date version. So far I'm playing around
the 1_33 release because that is the latest release for Mediawiki / Wikibase.
> 2/ My autocompletion is still broken, suggesting only on "Item:QID".
>
> Are you using the wbsearchentities API (which should be enabled when
> searching top right for ltr languages)?
> The completion results displayed when using the Special:Search search box
> might not use this API leading to QIDs being displayed.
>
You raised the right issue : I've checked in chrome's console, and the XHR sent
is : "?action=opensearch&...". Do you know how can I set the search box to use
the wbsearchentities API ? I don't remember seeing this option or disabling it
anywhere.
>
> 3/ I noticed something odd with search results. I was trying to search an
> entity which has multiple aliases in different language (atleast 3 or 4), by
> typing one of its french aliases :
> - When my UI is in English, the entity is found but the highlight and the
> alias shown is from another language, neither french or english. - When my UI
> is in French, it shows me the correct french highlight and alias or label.
> I don't know if I'm clear, in both cases the entity is found correctly, but
> its highlighted label or alias is not consistent across the different UI
> languages.
>
> No it's not, it is language dependent, every language has a list of fallback
> and french is not a fallback for english, but english is a fallback for
> french. When searching in english there are no guarantees that the ranking
> nor the data displayed will be the same. This was done to address the
> ambiguities between languages, e.g. when searching for "or" in french you
> would like to see Gold but if you were english you would perhaps expect
> something else.
>
> David.
>
> [1]: https://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault
> <https://www.mediawiki.org/wiki/Manual:$wgNamespacesToBeSearchedDefault>
> _______________________________________________
> Wikidata-tech mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/wikidata-tech
Thanks,
Kevin
_______________________________________________
Wikidata-tech mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikidata-tech