: Subject: Re: error in indexing FWIW: it's really crucial to state which version of Solr you are using when you have bugs with error stack traces like this -- going back through the versions i'm *guessing* that you are using Solr 1.4.1 (or possibly older), correct?
Based on that assumption (and the stack trace) i *think* your problem is that somehow you are adding a field to your documents where the *name* of the field is null ... but unless you left something out of the java code you posted i'm not reall sure how that would be possible. are you sure you don't have any other code adding fields to these SOlrInputDocuments? : output_documents=new ArrayList<SolrInputDocument>(); : while (....) { : sdoc=new SolrInputDocument(); : sdoc.setField("id", idb); : sdoc.setField("file_id", id); : sdoc.addField("box_text", zone.Text); : final Iterator<WPWord> it_on_words = zone.Words.iterator(); : while (it_on_words.hasNext()) { : final WPWord word = it_on_words.next(); : final String word_box = word.boxesToString(); : final String word_payload = word.Text + "|" + word_box; : sdoc.addField("word", word_payload); : } -Hoss