[TYPO3-Solr] Multiple tree and multiple languages

Sergio Catalá scatala.enet at gmail.com
Wed Feb 27 18:00:06 CET 2013


Hi Tomita,

On 27/02/13 15:40, Tomita Militaru wrote:
> 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.
>

Well, for me it's more efficient to have a unique ts configuration in my 
filesystem and link it in my ts template. If in the future I would like 
to change the solr parameters, I only would have to do it in one place, 
not in every rootpage.

>>
>> 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
>
>



More information about the TYPO3-project-solr mailing list