From: <bil...@gm...> - 2014-10-15 08:27:49
|
Thank you Demian, I was following the https://vufind.org/wiki/importing_records#xml_records. I've realized that <field name="recordtype">vudl</field> is not available in the "biblio" SOLR core when I was checking my XSLT, which was derived from 'VuDL Sample XSLT File'. Now, XML import is not giving any error. However, I wanted to test full text indexing by using <xsl:value-of select="php:function('VuFind::harvestWithParser', string(.))"/>. There is no <field name="fulltext"> when I checked my "biblio" index. How do I check whether TIKA has been loaded or not during the XML import? My XSLT as follows: <field name="title_sort"> <xsl:value-of select="php:function('VuFind::stripArticles', string(title[normalize-space()]))" /> </field> <field name="fulltext"> <xsl:for-each select="url[normalize-space()]"> <xsl:value-of select="php:function('VuFind::harvestWithParser', string(.))"/> </xsl:for-each> </field> I can see the "title_sort" but not "fulltext". Any advice?_ Best On Tue, Oct 14, 2014 at 9:03 PM, Demian Katz <dem...@vi...> wrote: > The XML being generated by the import script may be getting rejected by Solr. You could try re-running with the --test-only switch to see the XML output in case there is something obviously wrong with it. > > If that doesn't immediately reveal the problem, feel free to post output here for further analysis. > > - Demian > >> -----Original Message----- >> From: bil...@gm... [mailto:bil...@gm...] >> Sent: Tuesday, October 14, 2014 5:45 AM >> To: vuf...@li... >> Subject: [VuFind-General] XML import error >> >> Dear all, >> >> >> php import-xsl.php 1.xml 1.properties is giving an error >> ------------ >> PHP Notice: fwrite(): send of 8192 bytes failed with errno=104 >> Connection reset by peer in >> /usr/local/vufind2/vendor/zendframework/zendframework/library/Zend/Http/Client >> /Adapter/Socket.php >> on line 373 >> Fatal error: 400 Bad Request >> ----------------- >> >> What should I check? >> >> Cheers, >> >> ------------------------------------------------------------------------------ >> Comprehensive Server Monitoring with Site24x7. >> Monitor 10 servers for $9/Month. >> Get alerted through email, SMS, voice calls or mobile push notifications. >> Take corrective actions from your mobile device. >> http://p.sf.net/sfu/Zoho >> _______________________________________________ >> VuFind-General mailing list >> VuF...@li... >> https://lists.sourceforge.net/lists/listinfo/vufind-general |