[TYPO3-Solr] indexqueue problems with multilang

Dirk Wenzel listen at arkadias.de
Tue Jan 24 17:10:10 CET 2012


Hi Heiko,
Thank you for your sharing your observation. I didn't notice it before and 
can confirm it now. 

And just for the records: 
Apache Solr:	v. 3.5.0 with
Ext. solr:	v. 2.0.0 (trunk from svn)
T3: v. 4.5.10

cheers
Dirk 

On Thu, 1 Dec 2011 15:52:07 +0100, Heiko Kromm | Paints wrote
(in article 
<mailman.9333.1322750424.587.typo3-project-solr at lists.typo3.org>):

> Hi list, 
> 
> I have a strange behaviour while indexing a custom table with the indexqueue. 

> My website has 2 languages (german|0 and english|1) and a installed 
> news-extension. 
> In my solr-setup I tell the indexqueue to index the tx_news_domain_model_news 

> table. 
> 
> plugin.tx_solr { 
> index { 
> queue { 
> tx_news_domain_model_news = 1 
> tx_news_domain_model_news { 
> ... my mappings here ... 
> } 
> } 
> } 
> 
> This works fine for the german records but the english records are indexed 
> twice. 
> If I debug the solr results, there is one result with the correct english 
> data and uid of the localized record. 
> The second english result has the same english content, but the uid of the 
> parent (german) data. 
> 
> I can reproduce this behaviour, if I empty the solr-index. 
> Then I open the german record and change something. 
> After a while the indexer does it's job and the german and the localized 
> english record is indexed correctly. 
> Now I open the english record and change something. 
> Now the indexer creates the duplicate entry with the parent uid. 
> 
> Any ideas on this? 
> 
> Regards 
> Heiko 




More information about the TYPO3-project-solr mailing list