<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Solr Collection is not accepting Date datatype in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/292776#M216307</link>
    <description>&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea or update about this solr issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brgds,&lt;/P&gt;&lt;P&gt;GTA&lt;/P&gt;</description>
    <pubDate>Sat, 28 Mar 2020 08:27:29 GMT</pubDate>
    <dc:creator>GTA</dc:creator>
    <dc:date>2020-03-28T08:27:29Z</dc:date>
    <item>
      <title>Solr Collection is not accepting Date datatype</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/292635#M216220</link>
      <description>&lt;P&gt;Hi friends,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;After adding my field tags in the schema.xml file like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;field name="_version_" type="plong" indexed="true" stored="true" multiValued="false" /&amp;gt;&lt;BR /&gt;&amp;lt;field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /&amp;gt;&lt;BR /&gt;&amp;lt;field name="ip" type="text_general" indexed="true" stored="true"/&amp;gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;lt;field name="request_date" type="date" indexed="true" stored="true"/&amp;gt;&lt;/STRONG&gt;&lt;BR /&gt;&amp;lt;field name="request" type="text_general" indexed="true" stored="true"/&amp;gt;&lt;BR /&gt;&amp;lt;field name="department" type="string" indexed="true" stored="true" multiValued="false"/&amp;gt;&lt;BR /&gt;&amp;lt;field name="category" type="string" indexed="true" stored="true" multiValued="false"/&amp;gt;&lt;BR /&gt;&amp;lt;field name="product" type="string" indexed="true" stored="true" multiValued="false"/&amp;gt;&lt;BR /&gt;&amp;lt;field name="action" type="string" indexed="true" stored="true" multiValued="false"/&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And when i tried to create solr collection it is returning error like below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Unable to create core [live_logs15_shard1_replica_n1] Caused by: Unknown fieldType 'date' specified on field request_date"}}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is not accepting date datatype that i specified. Suppose instead of date datatype if i specify string for the field request_date means, then i can create collection successfully, but the solr collection is not accepting date data type and not sure the reason besides this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;GTA&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 12:34:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/292635#M216220</guid>
      <dc:creator>GTA</dc:creator>
      <dc:date>2020-03-26T12:34:22Z</dc:date>
    </item>
    <item>
      <title>Re: Solr Collection is not accepting Date datatype</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/292776#M216307</link>
      <description>&lt;P&gt;Hi friends,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea or update about this solr issue.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Brgds,&lt;/P&gt;&lt;P&gt;GTA&lt;/P&gt;</description>
      <pubDate>Sat, 28 Mar 2020 08:27:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/292776#M216307</guid>
      <dc:creator>GTA</dc:creator>
      <dc:date>2020-03-28T08:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Solr Collection is not accepting Date datatype</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/294116#M217060</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found that, the reason for the solr to not accept my date Field is due to the missing date Field type allocation to the Field name: request date.in my schema.xml file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After adding the below date field type, i could successfully create the solr collection&lt;/P&gt;&lt;P&gt;&amp;lt;fieldType name="date" class="solr.DateRangeField" &amp;gt;&amp;lt;/fieldType&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;GTA&lt;/P&gt;</description>
      <pubDate>Thu, 16 Apr 2020 09:56:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Solr-Collection-is-not-accepting-Date-datatype/m-p/294116#M217060</guid>
      <dc:creator>GTA</dc:creator>
      <dc:date>2020-04-16T09:56:25Z</dc:date>
    </item>
  </channel>
</rss>

