Skip to content

Commit

Permalink
Merge pull request #325 from sul-dlss/best_author_title_search
Browse files Browse the repository at this point in the history
Add best_author_title_search field
  • Loading branch information
jcoyne authored Jun 11, 2024
2 parents 9e72e23 + c671959 commit 15ab0ee
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions searchworks-gryphon-search/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<field name="vern_author_title_1xx_search" type="text" indexed="true" stored="true" multiValued="true" />
<field name="author_title_search" type="text" indexed="true" stored="true" multiValued="true" />
<field name="author_title_unstem_search" type="textNoStem" indexed="true" stored="false" multiValued="true" />
<field name="best_author_title_search" type="text" indexed="true" stored="true" multiValued="false" />

<!-- Author Search Fields -->
<field name="author_1xx_search" type="text" indexed="true" stored="true" />
Expand Down
9 changes: 9 additions & 0 deletions searchworks-gryphon-search/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,15 @@
<str name="pf3_number">callnum_search^3</str>
<str name="pf2_number">callnum_search^2</str>

<!-- for uniform titles + included works search -->
<str name="qf_author_title">
best_author_title_search^100
author_title_search
</str>
<str name="pf_author_title">author_title_search^10</str>
<str name="pf3_author_title">author_title_search^5</str>
<str name="pf2_author_title">author_title_search^2</str>

<bool name="facet">true</bool>
<int name="facet.mincount">1</int>
<int name="facet.limit">21</int>
Expand Down
1 change: 1 addition & 0 deletions searchworks-prod-20230907/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
<field name="vern_author_title_1xx_search" type="text" indexed="true" stored="true" multiValued="true" />
<field name="author_title_search" type="text" indexed="true" stored="true" multiValued="true" />
<field name="author_title_unstem_search" type="textNoStem" indexed="true" stored="false" multiValued="true" />
<field name="best_author_title_search" type="text" indexed="true" stored="true" multiValued="false" />

<!-- Author Search Fields -->
<field name="author_1xx_search" type="text" indexed="true" stored="true" />
Expand Down
9 changes: 9 additions & 0 deletions searchworks-prod-20230907/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,15 @@
<str name="pf3_number">callnum_search^3</str>
<str name="pf2_number">callnum_search^2</str>

<!-- for uniform titles + included works search -->
<str name="qf_author_title">
best_author_title_search^100
author_title_search
</str>
<str name="pf_author_title">author_title_search^10</str>
<str name="pf3_author_title">author_title_search^5</str>
<str name="pf2_author_title">author_title_search^2</str>

<bool name="facet">true</bool>
<int name="facet.mincount">1</int>
<int name="facet.limit">21</int>
Expand Down

0 comments on commit 15ab0ee

Please sign in to comment.