Skip to content

Commit

Permalink
Merge pull request #162 from tulibraries/BL-1760-fix-call-number-inde…
Browse files Browse the repository at this point in the history
…xing

Fixes call number searches not working.
  • Loading branch information
ebtoner authored Mar 29, 2023
2 parents 79a8e17 + b893c89 commit 4ec4f50
Show file tree
Hide file tree
Showing 4 changed files with 642 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ GEM
mini_mime (1.1.2)
minitest (5.17.0)
multi_xml (0.6.0)
nokogiri (1.14.2-arm64-darwin)
racc (~> 1.4)
nokogiri (1.14.2-x86_64-darwin)
racc (~> 1.4)
nokogiri (1.14.2-x86_64-linux)
Expand Down Expand Up @@ -125,6 +127,7 @@ GEM
yell (2.2.2)

PLATFORMS
arm64-darwin-21
x86_64-darwin-20
x86_64-linux

Expand All @@ -136,4 +139,4 @@ DEPENDENCIES
rspec

BUNDLED WITH
2.3.26
2.4.6
9 changes: 9 additions & 0 deletions schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,14 @@

<!-- A specialized field for geospatial search. If indexed, this fieldType must not be multivalued. -->
<fieldType name="location" class="solr.LatLonPointSpatialField" docValues="true" />

<!-- For fields you do not want split into tokens -->
<fieldType name="simple_string" class="solr.TextField" omitNorms="true">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory" />
</analyzer>
</fieldType>
</types>


Expand Down Expand Up @@ -324,6 +332,7 @@

<field name="work_access_point" type="string" indexed="true" stored="true" multiValued="true"/>
<field name="purchase_order" type="boolean" indexed="false" stored="true" multiValued="false" default="false" />
<field name="call_number_t" type="simple_string" indexed="true" stored="true" multiValued="true"/>


<!-- Dynamic field definitions. If a field name is not found, dynamicFields
Expand Down
Loading

0 comments on commit 4ec4f50

Please sign in to comment.