Problem with ezFind and translations

Author Message

Ivan Švogor

Thursday 07 April 2011 5:20:36 am

Hi, I have interesting problem with URLs of search results (ezFind). Our Web site has 2 translations and when I translate content in both language under search results everything is OK except from URL-s which are in the language which was last edited.

Example:

Search in Croatian on word "MedjunarodnaXYZ" gives me flowing output:

MedjunarodnaXYZ
MedjunarodnaXYZ/cro/suradnja/medjunarodna_url_xyz/(language)/cro-HR
Objavljeno: 08.12.2010. 13:30

Search in English on word "InternationalXYZ" gives me flowing output:

InternationalXYZ
InternationalXYZ
/eng/suradnja/medjunarodna_url_xyz/(language)/eng-GB
Objavljeno: 08.12.2010. 13:30

You can notice that URL of content that was in the English is wrong. This is because I edited the Croatian translation last. It would be opposite if I would now edit the English translation.

Everything else is OK (content itself), and when I look in Solar I see that URL-s in both documents (both translations) are always the same (from last edit):

<arr name="meta_url_alias_s"><str>suradnja/medjunarodna_url_xyz</str></arr>

This is obviously wrong and each <doc> for each translation should have different url.

Is this bug in ezFind or do we maybe have some problem in our site.ini.append.php files for every siteaccess (cro and eng).

Quoc Huy Nguyen Dinh

Wednesday 13 April 2011 8:36:52 am

Try to configure Solr to use multicore, one core per language. Then you can use the same core for multiple websites in the same language. Then configure ezfind.ini to map each siteaccess (language) to the corresponding core URL.

http://doc.ez.no/Extensions/eZ-Publish-extensions/eZ-Find/2.3/Advanced-Configuration/Using-multi-core-features

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.