DATAFARI-21-choice-of-date-for-indexed-documents
Added a crawl_date field defaulting to NOW (the crawl date) automatically if not provided.
last_modified also default to NOW (the crawl date) if not provided.
<field name="source" type="string" indexed="true" stored="true"/>
<field name="url" type="text_en" indexed="true" stored="true"/>
<field name="urlHierarchy" type="string" indexed="true" stored="true" multiValued="true"/>
- <field name="last_modified" type="tdate" indexed="true" stored="true"/>
+ <field name="last_modified" type="tdate" indexed="true" stored="true" default="NOW"/>
<field name="content" type="text_general" indexed="false" stored="false" multiValued="true"/>
<field name="content_en" type="text_en" indexed="true" stored="false" multiValued="true"/>
<field name="content_fr" type="text_fr" indexed="true" stored="false" multiValued="true"/>
<field name="content_hl_fr" type="text_fr" indexed="false" stored="true" multiValued="true"/>
<field name="exactContent" type="text_nostem" indexed="true" stored="false" multiValued="true"/>
<field name="exactTitle" type="text_nostem" indexed="true" stored="false" multiValued="true"/>
+ <field name="crawl_date" type="tdate" indexed="true" stored="true" default="NOW"/>
+
<field name="suggest" type="text_auto" indexed="true" stored="false" multiValued="true" />
<field name="spell" type="textSpell" indexed="true" stored="false" multiValued="true" />
