Skip to content

Commit

Permalink
change solr fields for remediated subjects
Browse files Browse the repository at this point in the history
topicAllStr exists in the record so that the full list of searchable
topics is viewable in Solr docs.

topics aren't copied into topicStr anymore because topicStr is now
populated by Subjects::subject_facets.

remediated_lc_subject_display is added so we can have a separate field
in catalog record displays.
  • Loading branch information
niquerio committed Aug 23, 2024
1 parent 193efa7 commit b0db399
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion biblio/conf/schema/local_explicit_fields.xml
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@
<field name="topic" type="text" indexed="true" stored="false" multiValued="true" omitNorms="true"/>
<field name="topicProper" type="text_no_stem_or_synonyms" indexed="true" stored="false" multiValued="true" omitNorms="true" />
<field name="topicStr" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="topicAllStr" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="lcshID" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="fullgenre" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
<field name="genre" type="text" indexed="true" stored="true" multiValued="true" omitNorms="true"/>
Expand All @@ -233,12 +234,13 @@
<field name="hlb3Str" type="string" indexed="true" stored="true" multiValued="true" />
<field name="hlb3Delimited" type="string" indexed="false" stored="true" multiValued="true" termVectors="false"/>
<field name="lc_subject" type="lc_subject" indexed="true" stored="true" multiValued="true"/>
<copyField source="topic" dest="topicStr"/>
<copyField source="topic" dest="topicAllStr"/>
<copyField source="topic" dest="topicProper"/>
<copyField source="hlb3" dest="hlb3Str"/>
<copyField source="genre" dest="genreStr"/>

<field name="lc_subject_display" type="text_facet" indexed="true" stored="true" multiValued="true"/>
<field name="remediated_lc_subject_display" type="text_facet" indexed="true" stored="true" multiValued="true"/>
<field name="non_lc_subject_display" type="text_facet" indexed="true" stored="true" multiValued="true"/>

<field name="subject_browse_terms" type="text_facet" indexed="true" stored="true" multiValued="true"/>
Expand Down

0 comments on commit b0db399

Please sign in to comment.