: ERROR org.apache.solr.core.SolrCore [com.ctc.wstx.excwstxLazyEception] : com.ctc.wstx.exc.WstxParsingException: Undeclared general entity "nbsp"
"nbsp" is not a legal XML entity unless you have an enty declaration that defines it. it sounds like you don't have valid xml -- it sounds like you maybe you have some HTML that someone cut/paste into a file that they called XML but isn't really. you said "the field in the xml file" suggesting that someone/something attempted to build up a "file" in containing the xml messages for adding documents to solr -- what software created this file? if it's just doing string manipulations to try and hack together some XML, you're going to keep running into pain. You really want to be using a true XML library to generate correct XML. Alternatively: don't generate files, or even XML at all -- make that software use a client API to talk directly to Solr via java obects, or json, or csv, etc.... -Hoss http://www.lucidworks.com/