Skip to content

Commit

Permalink
Merge pull request #2435 from sul-dlss/id-string
Browse files Browse the repository at this point in the history
Convert id to a string field.
  • Loading branch information
jcoyne committed Jun 12, 2024
2 parents 665888b + 5f6a534 commit b699c11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion solr/config/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<field name="_version_" type="long" indexed="true" stored="true"/>
<field name="timestamp" type="date" indexed="true" stored="true" default="NOW" />

<field name="id" type="string_punct_stop" indexed="true" stored="true" required="true" />
<field name="id" type="string" indexed="true" stored="true" required="true" />
<field name="id_search" type="string_punct_stop" indexed="true" stored="false" />
<field name="created" type="date" indexed="true" stored="true" default="NOW/SECOND" />
<field name="last_updated" type="date" indexed="true" stored="true" default="NOW/SECOND" />
<!-- entire marc bib record -->
Expand Down Expand Up @@ -333,6 +334,7 @@

<!-- exhibits fields -->
<copyField source="id" dest="id_ng" maxChars="3000"/>
<copyField source="id" dest="id_search" />
<copyField source="title_display" dest="full_title_ng" maxChars="3000"/>
<!-- NOTE: all_search is meant for metadata -->
<copyField source="*_tesim" dest="all_search" />
Expand Down
6 changes: 3 additions & 3 deletions solr/config/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
pub_date_search^2
isbn_search^1.5
issn_search^1.5
id
id_search
druid
oclc
barcode_search
Expand Down Expand Up @@ -289,7 +289,7 @@
pub_date_search^2
isbn_search^1.5
issn_search^1.5
id
id_search
oclc
barcode_search
physical vern_physical cjk_physical_search
Expand Down Expand Up @@ -713,7 +713,7 @@

<!-- for advanced search number text box -->
<str name="qf_number">
id
id_search
isbn_search
issn_search
oclc
Expand Down

0 comments on commit b699c11

Please sign in to comment.