[TYPO3-Solr] Sending XML to Update-RequestHandler

Michael Huber mh at mculm.de
Thu Jul 3 09:13:06 CEST 2014


Hi,

I've tried several things but can't get my XML to UpdateHandler work. Do 
you have any further ideas?
Or can you give me any advice how solr-extension is sending content to 
update the index?


----------------------------


Hi,

I'm trying to update a document in SOLR core using TYPO3-schema.xml. 
Therefore I'm sending the following XML to the requestHandler via POST. 
The index item is updated except the "content"-field which will be empty 
instead of being replaced by the content of the "text"-field inside the 
XML.
Do you have any ideas what's wrong?


<?xml version="1.0" encoding="UTF-8"?>
<add>
  <doc>
    <field name="title">Car 1</field>
    <field name="id">21345</field>
    <field name="type">CARS</field>
    <field name="appKey">EXT:solr</field>
    <field name="endtime">1970-01-01T01:00:00Z</field>
    <field 
name="siteHash">a432dd67cbe9d16e3692e2d2c4de4850f7bf4038</field>
    <field name="sortTitle_stringS">Car 1</field>
    <field name="teaser"></field>
    <field name="url">/cars/1</field>
    <field name="text">Content to be indexed</field>
  </doc>
</add>



More information about the TYPO3-project-solr mailing list