On Thu, Mar 27, 2008 at 1:21 PM, Andrew Tan <[EMAIL PROTECTED]> wrote: > I am new to solr and just try it out. I copied solr.war (from 1.2.0 > distribution) into tomcat 5.5.26's webapps directory and started tomcat. > Then I use the java SimplePostTool to add documents. when the document > is small, things are fine. However, when I tried to add document > (greater than 8KB) into solr server, I got the following error message : > > <result status="1">java.io.EOFException: no more data available - > expected end tags </field></doc></add> to close start > tag <field> from line 35 and start tag <doc> from line 3 and > start tag <add> from line 2, parser stopped on START_TAG seen > ...uiror Termination Fee if the preceding relates to antitrust or com... > @35:859
This looks like the XML may not be valid. I just tried a big document (120K) and a big single field (75K). Both worked fine. Are you sure the field values have reserved XML chars escaped correctly? Perhaps try opening the file in an XML editor. -Yonik