lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Max Bo <maximilian.brod...@gmail.com>
Subject Re: Indexed data not searchable
Date Wed, 10 Apr 2013 07:43:23 GMT
Thanks to this!

No I have another problem. I tried to give the XML file the right format so
I made this

<?xml version="1.0" encoding="UTF-8"?>

<add><doc>
	<field name="id">455HHS-2232</field>
	<field name="title">T0072-00031-DOWNLOAD - Blatt 12v</field>
	<field name="format">application/pdf</field>
	<field name="created">2012-11-07T11:15:19.887+01:00</field>
	<field name="lastModified">2012-11-07T11:15:19.887+01:00</field>
	<field name="issued">2012-11-07T11:15:19.887+01:00</field>
	<field name="revision">0</field>
	<field name="pid">hdl:11858/00-1734-0000-0008-12C5-2</field>
	<field name="extent">1131033</field>
	<field name="project">St. Matthias Test 07</field>
	<field name="availability">public</field>
	<field name="rightsHolder">Stadtbibliothek und Stadtarchiv Trier</field>
</doc></add>



I also made the changes in the schema.xml

I added this fields:

   <field name="identifier" type="text_general" indexed="true"
stored="true"/>
   <field name="format" type="text_general" indexed="true" stored="true"/>
   <field name="created" type="date" indexed="true" stored="true"/>
   <field name="issued" type="date" indexed="true" stored="true"/>
   <field name="revision" type="int" indexed="true" stored="true"/>
   <field name="pid" type="text_general" indexed="true" stored="true"/>
   <field name="extent" type="int" indexed="true" stored="true"/>
   <field name="dataContributor" type="text_general" indexed="true"
stored="true"/>
   <field name="project" type="text_general" indexed="true" stored="true"/>
   <field name="availability" type="text_general" indexed="true"
stored="true"/>
   <field name="rightsholder" type="text_general" indexed="true"
stored="true"/>

Did I made anything wrong?



--
View this message in context: http://lucene.472066.n3.nabble.com/Indexed-data-not-searchable-tp4054473p4054960.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message