You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mechanism used to provide proper results in searches done in non-default languages includes comparing against a document field post-lang, which stores a comma-separated list of languages where each post should appear into.
For posts (translations) in a given secondary language, it stores that translation language code.
For posts in the primary language, it also includes language codes for all languages where the relevant post type is set to be displayed as translated but a translation to that secondary language does not exist. See fix: post types set to display as translated #14
Consider languages like zh-hans or pt-pt. Posts (translations) in those languages are failing to be returned in searches fired in their right language.
The analyzer for this post-lang field was set to be a custom one, with a default tokenized and no filters - in theory, this should remove filters that were splitting sich languages like zh-hans into zh and hans tokens, but that change was not enough. See 5156190
Turning this field into a keyword will not work either, since it can contain multiple, comma-separated language codes, and we need to tokenized each of them.
The mechanism used to provide proper results in searches done in non-default languages includes comparing against a document field
post-lang
, which stores a comma-separated list of languages where each post should appear into.Consider languages like
zh-hans
orpt-pt
. Posts (translations) in those languages are failing to be returned in searches fired in their right language.Regression of #13
The text was updated successfully, but these errors were encountered: