[TYPO3-Solr] Strange error message in catalina.out

Ingo Renner ingo at typo3.org
Sat Feb 9 00:22:20 CET 2013


Am 2/7/13 3:46 AM, schrieb Dominique Feyer:

Hi Dominique,

> SEVERE: org.apache.solr.common.SolrException: ERROR:
> [doc=3406cf9c497da2a5b418424322e64ee8b57ab894/tx_csdistribution_domain_model_movie/]
> Error adding field 'uid'=''

The error message is pretty clear:

Error adding field 'uid'=''

the uid field is an integer, Solr gets handed a string for it, that 
simply won't work. Also looking at the first part of the error message:

3406cf9c497da2a5b418424322e64ee8b57ab894/tx_csdistribution_domain_model_movie/

That's the document's ID, usually it is constructed as 
siteHash/type/uid, so this is just another indicator that something is 
wrong with the uid for those records. Question: Did you mess with the 
uid field? :) - Is there one at all? Usually you should not need to care 
about the uid as the extension's indexer takes care of it as a system field.


Ingo

-- 
Ingo Renner
TYPO3 Core Developer, Release Manager TYPO3 4.2, Admin Google Summer of Code

TYPO3 - Open Source Enterprise Content Management System
http://typo3.org

Apache Solr for TYPO3 -
Open Source Enterprise Search meets Open Source Enterprise CMS
http://www.typo3-solr.com


More information about the TYPO3-project-solr mailing list