[TYPO3-Solr] Duplicate field "rootline" when adding pages to the index

Peter Kraume peter.kraume at gmx.de
Wed Feb 1 09:07:51 CET 2012


I have a problem with the EAP version (from last friday).

Upon indexing pages other than treelevel=0, I get the error "400 Bad 
request".

I've analyzed the query XML and discovered that the field "rootline" is 
there multiple times. Each treelevel will add a new field. On treelevel 
2 there are three fields with rootline and so on:

<add allowDups="false" overwritePending="true" overwriteCommitted="true">
	<doc>
		<field 
name="id">29d1b01a095945b69b39fc5cc7ae9fb93f5e21f2/pages/76/112/0/0/0</field>
		<field name="site">www.zzz.tld</field>
		<field name="siteHash">29d1b01a095945b69b39fc5cc7ae9fb93f5e21f2</field>
		<field name="appKey">EXT:solr</field>
		<field name="type">pages</field>
		<field name="contentHash"></field>
		<field name="uid">112</field>
		<field name="pid">76</field>
		<field name="typeNum">0</field>
		<field name="created">2008-06-03T12:31:11Z</field>
		<field name="changed">2011-12-01T22:51:54Z</field>
		<field name="language">0</field>
		<field name="rootline">0-2</field>
		<field name="rootline">1-2/76</field>
		<field name="rootline">2-2/76/112</field>
		<field name="access">c:0</field>
		<field name="title">...</field>
		<field name="subTitle"></field>
		<field name="navTitle"></field>
		<field name="author"></field>
		<field name="description"></field>
		<field name="abstract"></field>
		<field name="content">...</field>
		<field name="url">http://www.zzz.tld/de/foo/bar.html</field>
		<field name="keywords"></field>
		<field name="tagsH1">...</field>
		<field name="tagsH4H5H6">...</field>
		<field name="tagsInline"> ...</field>
		<field name="tagsA">...</field>
		<field name="sortAuthor_stringS"></field>
		<field name="sortTitle_stringS">...</field>
		<field name="sortSubTitle_stringS"></field>
	</doc>
</add>

When I remove 2 of the 3 rootline fields, everything works fine.
Is this a bug or a configuration error on my side?

Cheers
Peter


More information about the TYPO3-project-solr mailing list