OK. I am using SOLR 3.6. I restarted SOLR and it started working. No idea why. You were right I showed the error log from a different document.
We might want to add a test case for CDATA. <add> <doc> <field name="id">SP2514N</field> <field name="name">Samsung SpinPoint P120 SP2514N - hard drive - 250 GB - ATA-133</field> <field name="manu">Samsung Electronics Co. Ltd.</field> <field name="cat">electronics</field> <field name="cat">hard drive</field> <field name="features">7200RPM, 8MB cache, IDE Ultra ATA-133</field> <field name="features">NoiseGuard, SilentSeek technology, Fluid Dynamic Bearing (FDB) motor</field> <field name="price">92</field> <field name="popularity">6</field> <field name="inStock">true</field> <field name="address_xml"><![CDATA[<eduL> <edu> <edTypC>MEDSCH</edTypC> <inst> <edNm>UNIVERSITY OF COLORADO & SCHOOL OF MEDICINE</edNm> <yr>1974</yr> <deg>MD</deg> </inst> </edu> </eduL>]]></field> <field name="manufacturedate_dt">2006-02-13T15:26:37Z</field> <!-- Near Oklahoma city --> <field name="store">35.0752,-97.032</field> </doc> </add> On Tue, May 1, 2012 at 7:03 AM, Jack Krupansky <j...@basetechnology.com> wrote: > Please clarify the problem, because the error message you provide refers to > address data that is not in the input data that you provide. It doesn't > match! > > The error refers to an "edu" element, but the input data uses a "poff" > element. Maybe you have multiple "SP2514N" documents; maybe somebody made a > copy of the original and edited the address_xml field value. And maybe that > edited version that has an "edu" element has some obvious error. > > In short, show us the full actual input address_xml field element, but > preferably the entire Solr input document for the version of the SP2514N > document that actually generates the error . > > -- Jack Krupansky > > -----Original Message----- From: William Bell > Sent: Monday, April 30, 2012 4:18 PM > To: solr-user@lucene.apache.org > Subject: post.jar failing > > > I am getting a post.jar failure when trying to post the following > CDATA field... It used to work on older versions. This is in SOlr 3.6. > > <add> > <doc> > <field name="id">SP2514N</field> > <field name="name">Samsung SpinPoint P120 SP2514N - hard drive - 250 > GB - ATA-133</field> > <field name="manu">Samsung Electronics Co. Ltd.</field> > <field name="cat">electronics</field> > <field name="cat">hard drive</field> > <field name="features">7200RPM, 8MB cache, IDE Ultra ATA-133</field> > <field name="features">NoiseGuard, SilentSeek technology, Fluid > Dynamic Bearing (FDB) motor</field> > <field name="price">92</field> > <field name="popularity">6</field> > <field name="inStock">true</field> > <field name="address_xml"><![CDATA[<poffL> > <poff><offL><off><ad1>2299 9th Ave N Ste 1A</ad1><city>St > Petersburg</city><st>FL</st><zip>33713</zip><lat>27.781593</lat><lng>-82.663620</lng><phL/><faxL/></off></offL></poff> > </poffL>]]></field> > <field name="manufacturedate_dt">2006-02-13T15:26:37Z</field> > <!-- Near Oklahoma city --> > <field name="store">35.0752,-97.032</field> > </doc> > > </add> > > Apr 30, 2012 1:53:49 PM org.apache.solr.common.SolrException log > SEVERE: org.apache.solr.common.SolrException: ERROR: [doc=SP2514N] Error > adding > field 'address_xml'='<eduL> > <edu> > <edTypC>MEDSCH</edTypC> > <inst> > <edNm>UNIVERSITY OF COLORADO SCHOOL OF MEDICINE</edNm> > <yr>1974</yr> > <deg>MD</deg> > </inst> > </edu> > </eduL>' > > > -- > Bill Bell > billnb...@gmail.com > cell 720-256-8076 -- Bill Bell billnb...@gmail.com cell 720-256-8076