Skip to content

Commit

Permalink
[orangelight] Add docvalues
Browse files Browse the repository at this point in the history
Helps with #180
  • Loading branch information
sandbergja committed Jan 13, 2025
1 parent 20bde9f commit c5d51da
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions solr_configs/catalog-production-v3/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -509,17 +509,17 @@
<field name="isbn_t" type="isbn" indexed="true" stored="true" multiValued="true"/>
<field name="lccn_s" type="lccn" indexed="true" stored="true" multiValued="true"/>
<field name="issn_s" type="alphaNumSort" indexed="true" stored="true" multiValued="true"/>
<field name="language_facet" type="string" indexed="true" stored="true" multiValued="true" />
<field name="language_facet" type="string" indexed="true" stored="true" docValues="true" multiValued="true" />
<field name="subject_facet" type="descendent_path" indexed="true" stored="true" multiValued="true" />
<field name="subject_era_facet" type="string" indexed="true" stored="true" multiValued="true" />
<field name="subject_geo_facet" type="string" indexed="true" stored="true" multiValued="true" />
<field name="subject_era_facet" type="string" indexed="true" stored="true" docValues="true" multiValued="true" />
<field name="subject_geo_facet" type="string" indexed="true" stored="true" docValues="true" multiValued="true" />
<!-- pub_date is used for facet and display so it must be indexed and stored -->
<field name="pub_date" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="title_sort" type="alphaNumSort" indexed="true" stored="false" />
<!-- pub_date sort uses new trie-based int fields, which are recommended for any int and are displayable, sortable, and range-quer
we use 'pint' for faster range-queries. -->
<field name="pub_date_start_sort" type="pint" indexed="true" stored="true" multiValued="false"/>
<field name="pub_date_end_sort" type="pint" indexed="true" stored="true" multiValued="false"/>
<field name="pub_date_start_sort" type="pint" indexed="true" stored="true" docValues="true" multiValued="false"/>
<field name="pub_date_end_sort" type="pint" indexed="true" stored="true" docValues="true" multiValued="false"/>

<!-- format is used for facet, display, and choosing which partial to use for the show view, so it must be stored and indexed -->
<field name="format" type="string" indexed="true" stored="true" multiValued="true"/>
Expand Down Expand Up @@ -558,7 +558,7 @@
<dynamicField name="*_tl" type="plong" indexed="true" stored="true"/>
<dynamicField name="*_tf" type="pfloat" indexed="true" stored="true"/>
<dynamicField name="*_td" type="pdouble" indexed="true" stored="true"/>
<dynamicField name="*_tdt" type="pdate" indexed="true" stored="true"/>
<dynamicField name="*_tdt" type="pdate" indexed="true" stored="true" docValues="true"/>


<dynamicField name="ignored_*" type="ignored" multiValued="true"/>
Expand All @@ -568,7 +568,7 @@

<dynamicField name="*_display" type="string" indexed="false" stored="true" multiValued="true" />
<dynamicField name="*_1display" type="string" indexed="false" stored="true" multiValued="false" />
<dynamicField name="*_facet" type="string" indexed="true" stored="false" multiValued="true" />
<dynamicField name="*_facet" type="string" indexed="true" stored="false" docValues="true" multiValued="true" />
<dynamicField name="*_index" type="text" indexed="true" stored="false" multiValued="true" />
<dynamicField name="*_sort" type="alphaOnlySort" indexed="true" stored="false" />
<dynamicField name="*_unstem_search" type="text_general" indexed="true" stored="false" multiValued="true" />
Expand Down

0 comments on commit c5d51da

Please sign in to comment.