Skip to content

Commit

Permalink
Define required _version_ field and its fieldType.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwoodiupui committed Oct 12, 2023
1 parent 96ba071 commit f25b6d4
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dspace/solr/authority/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,20 @@
</analyzer>
</fieldType>

<fieldType name="long"
class="solr.LongPointField"
omitNorms="true"
positionIncrementGap="0"
docValues="true"/>

</types>

<fields>
<field name="_version_"
type="long"
indexed="true"
stored="true"
multiValued="false"/>
<field name="id" type="string" multiValued="false" indexed="true" stored="true" required="true"/>
<field name="field" type="string" multiValued="false" indexed="true" stored="true" required="true" />
<field name="email" type="string" multiValued="true" indexed="true" stored="true" required="false"/>
Expand Down

0 comments on commit f25b6d4

Please sign in to comment.