solr random fix
This commit is contained in:
@@ -61,6 +61,9 @@
|
||||
<!-- Single string for exact matching and faceting -->
|
||||
<fieldType name="string_facet" class="solr.StrField" sortMissingLast="true" docValues="true"/>
|
||||
|
||||
<!-- Random sort field type for random ordering -->
|
||||
<fieldType name="random" class="solr.RandomSortField" indexed="true"/>
|
||||
|
||||
<!-- Fields -->
|
||||
|
||||
<!-- Required Fields -->
|
||||
@@ -129,6 +132,11 @@
|
||||
|
||||
<!-- Default Search Field -->
|
||||
|
||||
<!-- Dynamic Fields -->
|
||||
|
||||
<!-- Random sort dynamic field for generating random orderings -->
|
||||
<dynamicField name="random_*" type="random" indexed="true" stored="false"/>
|
||||
|
||||
<!-- UniqueKey -->
|
||||
<uniqueKey>id</uniqueKey>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user