[TYPO3-Solr] Multiple tree and multiple languages

Tomita Militaru tmilitaru at arxia.com
Wed Feb 27 16:40:59 CET 2013


On 02/27/2013 06:35 PM, Sergio Catalá wrote:
> Hi list,

Hi Sergio,

>
> I have two languages in my Typo3 installation (de=0 and en=1). My 
> pagetree is like this:
>
> ==================================
> page: uid=1
> |- Page 1
> |- Page 2
> page: uid=2
> |- Page 3
> |- Page 4
> page: uid=3
> |- Page 5
> |- Page 6
> ==================================
>
> And I separated a Solr core for every rootpage and for every language 
> (so in total I have 6 cores).
>
> I followed the naming for every core as it is explained here:
> http://forge.typo3.org/projects/extension-solr/wiki/Multi_Language_Handling 
>
>
> I've setup in every main page the "root" flag too.
>
> And now I just would like my TS for solr extension could look as 
> simple as this:
>
> plugin.tx_solr {
> solr {
> scheme = http
> host = solr.server.de
> port = 8000
> path = /solr/dev-server-{$rootPid}-0-de_DE/
> }
> }
>
> [globalVar = GP:L = 1]
> plugin.tx_solr.solr.path = /solr/dev-server-{$rootPid}-1-en_EN/
> [global]
>
> where $rootPid is a constant configured in a previous template.
>
> But I can't get this constant to be substituted :(

Why don't you add Solr configuration on each of the rootpages?
Then you won't need the constant.

>
> So the Solr connection for every core is failing.
>
> Any hints?
>
> Thanks in advance,
> Sergio
> _______________________________________________
> TYPO3-project-solr mailing list
> TYPO3-project-solr at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-project-solr


-- 
Tomiţă Militaru

TYPO3 Developer
Arxia SRL
Str. Paraului 2b
400651 Cluj-Napoca

Tel: +40741064681

Email: tmilitaru at arxia.com
Internet: http://www.arxia.com



More information about the TYPO3-project-solr mailing list