On 1/6/2012 9:36 AM, Timo Sirainen wrote:
On 6.1.2012, at 19.30, Daniel L. Miller wrote:
Jan 6 09:22:42 bubba dovecot: indexer-worker(user1@domain.com): Error: fts_solr: Indexing failed: 400 Illegal character ((CTRL-CHAR, code 18)) at [row,col {unknown-source}]: [482765,16] Jan 6 09:22:42 bubba dovecot: indexer-worker: Error:
Google seems to indicate that Solr cannot handle "invalid" characters - and that it is the responsibility of the calling program to strip out such. A quick search shows me a both an individual character comparison in Java and a regex used for the purpose. Is there any "illegal character protection" in the Dovecot Solr plugin? Yes, there is. So I'm not really sure what it's complaining about. Are you using the "solr" or "solr_old" backend?
"Solr".
plugin { fts = solr fts_solr = url=http://localhost:8983/solr/ }
-- Daniel