Add transactionId (for internal harvester usage. Add dates as both date and string...
authorDennis Schafroth <dennis@indexdata.com>
Thu, 22 Aug 2013 08:20:15 +0000 (10:20 +0200)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 22 Aug 2013 08:20:15 +0000 (10:20 +0200)
conf/schema.xml

index 3048c58..50e7c4a 100644 (file)
        when adding a document.
    -->
 
-<!-- 
--->
+<!-- -->
    <field name="id" type="string" indexed="true" stored="true" required="true" /> 
    <field name="_version_" type="long" indexed="true" stored="true"/>
 
+   <field name="transactionId" type="long" indexed="true" stored="false"/>
+
    <field name="author"       type="text"   indexed="true" stored="true"  multiValued="true"  omitNorms="true"/>
    <field name="author_exact" type="facet"  indexed="true" stored="false" multiValued="true"  omitNorms="true"/>
    <field name="author-date"  type="text"   indexed="true" stored="true"  multiValued="true" omitNorms="true"/>
    <field name="keywords" type="textgen" indexed="true" stored="true"/>
    <field name="category" type="textgen" indexed="true" stored="true"/>
    <field name="content_type" type="string" indexed="true" stored="true" multiValued="true"/>
-   <field name="last_modified" type="date" indexed="true" stored="true"/>
    <field name="links" type="string" indexed="true" stored="true" multiValued="true"/>
 -->
+   <field name="last-modified-date" type="date"   indexed="true" stored="true"/>
+   <field name="last-modified"      type="string" indexed="true" stored="true"/>
 
    <!-- catchall field, containing all other searchable text fields (implemented
         via copyField further on in this schema  -->