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
{{ message }}
This repository has been archived by the owner on Oct 29, 2019. It is now read-only.
At search_indexes.py there are safe_translation_getter() calls without current language argument (and it looks like parler does not try to detect the current language inside that method either). So, article's filelds translated in first available language are sometimes indexed in the Solr core for another language.
The aldryn-search was built with hvad in mind, so we probably need to take some extra steps in index methods to properly index translatable models. @yakky, can you try to reproduce this and adjust the index?
CC: @czpython@intellectronica
The text was updated successfully, but these errors were encountered:
@mkoistinen, IIRC, I was not able to test (or id did not fix the issue for me) 0c314e7 and it can not be cleanly applied to master now. @chronossc is now working on search related code in our project, he might know for sure if newsblog search configuration is up to date.
At search_indexes.py there are
safe_translation_getter()
calls without current language argument (and it looks like parler does not try to detect the current language inside that method either). So, article's filelds translated in first available language are sometimes indexed in the Solr core for another language.The aldryn-search was built with hvad in mind, so we probably need to take some extra steps in index methods to properly index translatable models.
@yakky, can you try to reproduce this and adjust the index?
CC: @czpython @intellectronica
The text was updated successfully, but these errors were encountered: