lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bineesh <kunhu0...@gmail.com>
Subject Re: Unknown field "cache"
Date Sun, 02 Sep 2018 16:28:05 GMT
Hi Govind,

Thanks for the reply. Pleasee below the chema.xml and managed.schema

1: schema.xml

 
    <fieldType name="tdate" class="solr.TrieDateField" omitNorms="true"
precisionStep="6" positionIncrementGap="0"/>
     <fieldType name="tdates" class="solr.TrieDateField" docValues="true"
precisionStep="6" positionIncrementGap="0" multiValued="true"/>
         int, float, long, date, double, including the "Trie" variants.
    <field name="tstamp" type="date" stored="true" indexed="false"/>
    <field name="lastModified" type="date" stored="true" indexed="false"/>
    <field name="date" type="tdate" stored="true" indexed="true"/>
    <field name="publishedDate" type="date" stored="true" indexed="true"/>
    <field name="updatedDate" type="date" stored="true" indexed="true"/>

2 : managed.schema

 - For maximum indexing performance, use the ConcurrentUpdateSolrServer
         "add-unknown-fields-to-the-schema" update request processor chain
declared
    <dynamicField name="*_dt"  type="date"    indexed="true" 
stored="true"/>
    <dynamicField name="*_dts" type="date"    indexed="true"  stored="true"
multiValued="true"/>
    <dynamicField name="*_pdt" type="pdate"  indexed="true"  stored="true"/>
    <dynamicField name="*_pdts" type="pdates"  indexed="true" 
stored="true"/>
    <dynamicField name="*_tdt" type="tdate"  indexed="true"  stored="true"/>
    <dynamicField name="*_tdts" type="tdates"  indexed="true" 
stored="true"/>
             This includes "string","boolean", "int", "float", "long",
"date", "double",
    
    <fieldType name="pdate" class="solr.DatePointField" docValues="true"/>
    <fieldType name="pdates" class="solr.DatePointField" docValues="true"
multiValued="true"/>
    <fieldType name="date" class="solr.TrieDateField" docValues="true"
precisionStep="0" positionIncrementGap="0"/>
    <fieldType name="dates" class="solr.TrieDateField" docValues="true"
precisionStep="0" positionIncrementGap="0" multiValued="true"/>
    <fieldType name="tdate" class="solr.TrieDateField" docValues="true"
precisionStep="6" positionIncrementGap="0"/>
    <fieldType name="tdates" class="solr.TrieDateField" docValues="true"
precisionStep="6" positionIncrementGap="0" multiValued="true"/>

please let me know if i'm missing anything




--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Mime
View raw message