Skip to content

Commit

Permalink
IBX-7806: Added missing random fields in solr schema (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
ViniTou committed Jul 22, 2024
1 parent 31accf2 commit d649f40
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ should not remove or drastically change the existing definitions.

<fieldType name="currency" class="solr.CurrencyField" precisionStep="8" defaultCurrency="USD" currencyConfig="currency.xml" />

<fieldType name="random" class="solr.RandomSortField" indexed="true"/>



Expand Down Expand Up @@ -103,6 +104,11 @@ should not remove or drastically change the existing definitions.
<dynamicField name="*_gl_1_coordinate" type="double" indexed="true" stored="true"/>
<dynamicField name="*_c" type="currency" indexed="true" stored="true"/>

<!--
This field is required to allow random sorting
-->
<dynamicField name="random*" type="random" indexed="true" stored="false"/>

<!--
This field is required since Solr 4
-->
Expand Down

0 comments on commit d649f40

Please sign in to comment.