Skip to content

Commit

Permalink
Change the pubDate and datePublished to the date_range type.
Browse files Browse the repository at this point in the history
  • Loading branch information
taojing2002 committed Mar 14, 2024
1 parent ae08895 commit bb37b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/solr-conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,8 @@ This schema is copied into the dataone-cn-index buildout for deployment on cn no
<field name="title" type="text_general" multiValued="false" indexed="true" stored="true" />
<field name="scientificName" type="string" multiValued="true" indexed="true" stored="true" />
<field name="relatedOrganizations" type="string" multiValued="true" indexed="true" stored="true" />
<field name="datePublished" type="date" multiValued="false" indexed="true" stored="true" />
<field name="pubDate" type="date" indexed="true" stored="true"/>
<field name="datePublished" type="date_range" multiValued="false" indexed="true" stored="true" />
<field name="pubDate" type="date_range" indexed="true" stored="true"/>

<field name="investigator" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="investigatorText" type="text_general" indexed="true" stored="false" multiValued="true"/>
Expand Down

0 comments on commit bb37b78

Please sign in to comment.