You should check the logs. They'll tell you the exact fields that pose a
problem in this case.

On Mon, 4 Apr 2016, 19:22 onixterry, <te...@onixnet.com> wrote:

> OK, but this content was provided by the people who created the tutorial.
> Perhaps there is a change in the recent release as the data files need to
> be
> modified to work?  The tutorial says it is for Solr 5.3 and I am using 5.5.
>
> The XML files all seem very simple.  Example:
>
> <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="manu_id_s">samsung</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.0</field>
>   <field name="popularity">6</field>
>   <field name="inStock">true</field>
>   <field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
>
>   <field name="store">35.0752,-97.032</field>
> </doc>
>
> <doc>
>   <field name="id">6H500F0</field>
>   <field name="name">Maxtor DiamondMax 11 - hard drive - 500 GB -
> SATA-300</field>
>   <field name="manu">Maxtor Corp.</field>
>
>   <field name="manu_id_s">maxtor</field>
>   <field name="cat">electronics</field>
>   <field name="cat">hard drive</field>
>   <field name="features">SATA 3.0Gb/s, NCQ</field>
>   <field name="features">8.5ms seek</field>
>   <field name="features">16MB cache</field>
>   <field name="price">350.0</field>
>   <field name="popularity">6</field>
>   <field name="inStock">true</field>
>
>   <field name="store">45.17614,-93.87341</field>
>   <field name="manufacturedate_dt">2006-02-13T15:26:37Z</field>
> </doc>
> </add>
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Tutorial-example-loading-of-exampledocs-for-xml-fails-due-to-bad-request-tp4267878p4267881.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>
-- 
Regards,
Binoy Dalal

Reply via email to