solr_conf/conf/solrconfig.xml
<?xml version="1.0" encoding="UTF-8" ?>
<config>
<!-- NOTE: these 2 lib dirs are here for testing only and do NOT go in the prod file -->
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" />
<!-- NOTE: various comments and unused configuration possibilities have been purged
from this file. Please refer to http://wiki.apache.org/solr/SolrConfigXml,
as well as the default solrconfig file included with Solr, and with blacklight -->
<abortOnConfigurationError>${solr.abortOnConfigurationError:true}</abortOnConfigurationError>
<luceneMatchVersion>8.11.2</luceneMatchVersion>
<directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.StandardDirectoryFactory}"/>
<dataDir>${solr.data.dir:}</dataDir>
<updateHandler class="solr.DirectUpdateHandler2">
<updateLog>
<str name="dir">${solr.core1.data.dir:}</str>
</updateLog>
<autoCommit>
<maxTime>${solr.autoCommit.maxTime:600000}</maxTime><!-- 10 minutes -->
<openSearcher>false</openSearcher>
</autoCommit>
<autoSoftCommit>
<maxTime>${solr.autoSoftCommit.maxTime:5000}</maxTime><!-- 5 seconds -->
</autoSoftCommit>
</updateHandler>
<requestHandler name="search" class="solr.SearchHandler" default="true">
<lst name="defaults">
<str name="defType">edismax</str>
<str name="echoParams">explicit</str>
<str name="q.alt">*:*</str>
<str name="mm">6<-1 6<90%</str>
<int name="qs">1</int>
<int name="ps">2</int>
<float name="tie">0.01</float>
<bool name="lowercaseOperators">true</bool>
<str name="fl"> *, score</str>
<str name="qf">
main_title_text_anchored_im^100
main_title_text_unstemmed_im^50
main_title_tenim^10
full_title_unstemmed_im^10
full_title_tenim^5
additional_titles_unstemmed_im^5
additional_titles_tenim^3
author_text_nostem_im^3
contributor_text_nostem_im
topic_tesim^2
tag_text_unstemmed_im
originInfo_place_placeTerm_tesim
originInfo_publisher_tesim
content_type_ssim
sw_format_ssim
object_type_ssim
descriptive_text_nostem_i
descriptive_tiv
descriptive_teiv
collection_title_tesim
id
druid_bare_ssi
druid_prefixed_ssi
obj_label_tesim
identifier_ssim
identifier_tesim
barcode_id_ssim
folio_instance_hrid_ssim
source_id_text_nostem_i^3
source_id_ssi
previous_ils_ids_ssim
doi_ssim
contributor_orcids_ssim
</str>
<str name="pf"> <!-- (defType dismax, edismax: phrase boost within result set) -->
main_title_text_anchored_im^500
main_title_text_unstemmed_im^250
main_title_tenim^50
full_title_unstemmed_im^50
full_title_tenim^25
additional_titles_unstemmed_im^25
additional_titles_tenim^15
author_text_nostem_im^15
contributor_text_nostem_im^5
topic_tesim^10
descriptive_text_nostem_i^5
descriptive_tiv^3
descriptive_teiv^2
collection_title_tesim^5
obj_label_tesim^5
identifier_tesim^5
source_id_text_nostem_i^5
</str>
<str name="pf3"> <!-- (defType edismax: token trigrams boost within result set) -->
main_title_text_anchored_im^300
main_title_text_unstemmed_im^150
main_title_tenim^30
full_title_unstemmed_im^30
full_title_tenim^15
additional_titles_unstemmed_im^15
additional_titles_tenim^9
author_text_nostem_im^9
contributor_text_nostem_im^3
topic_tesim^6
descriptive_text_nostem_i^15
descriptive_tiv^9
descriptive_teiv^6
collection_title_tesim^3
obj_label_tesim^3
identifier_tesim^3
source_id_text_nostem_i^3
</str>
<str name="pf2"> <!--(defType edismax: token bigrams boost within result set) -->
main_title_text_anchored_im^200
main_title_text_unstemmed_im^100
main_title_tenim^20
full_title_unstemmed_im^20
full_title_tenim^10
additional_titles_unstemmed_im^10
additional_titles_tenim^6
author_text_nostem_im^6
contributor_text_nostem_im^2
topic_tesim^4
descriptive_text_nostem_i^10
descriptive_tiv^6
descriptive_teiv^4
collection_title_tesim^2
obj_label_tesim^2
identifier_tesim^2
source_id_text_nostem_i^2
</str>
<str name="facet">true</str>
<str name="facet.mincount">1</str>
<str name="facet.limit">10</str>
<str name="facet.field">objectType_ssim</str>
<str name="f.objectType_ssim.facet.sort">index</str>
<str name="f.objectType_ssim.facet.method">enum</str>
<str name="facet.field">content_type_ssim</str>
<str name="f.content_type_ssim.facet.sort">index</str>
<str name="f.content_type_ssim.facet.method">enum</str>
<str name="facet.field">nonhydrus_apo_title_ssim</str>
<str name="facet.field">released_to_earthworks_dtsi</str>
<str name="facet.field">released_to_searchworks_dtsi</str>
</lst>
</requestHandler>
<!-- for relevancy experiments -->
<requestHandler name="qttest" class="solr.SearchHandler">
<lst name="defaults">
<str name="defType">edismax</str>
<str name="echoParams">explicit</str>
<str name="q.alt">*:*</str>
<str name="mm">6<-1 6<90%</str>
<int name="qs">1</int>
<int name="ps">2</int>
<float name="tie">0.01</float>
<bool name="lowercaseOperators">true</bool>
<str name="qf">
main_title_text_anchored_im^100
main_title_text_unstemmed_im^50
main_title_tenim^10
full_title_unstemmed_im^10
full_title_tenim^5
additional_titles_unstemmed_im^5
additional_titles_tenim^3
author_text_nostem_im^3
contributor_text_nostem_im
topic_tesim^2
tag_text_unstemmed_im
originInfo_place_placeTerm_tesim
originInfo_publisher_tesim
content_type_ssim
sw_format_ssim
object_type_ssim
descriptive_text_nostem_i
descriptive_tiv
descriptive_teiv
collection_title_tesim
id
druid_bare_ssi
druid_prefixed_ssi
obj_label_tesim
identifier_ssim
identifier_tesim
barcode_id_ssim
folio_instance_hrid_ssim
source_id_text_nostem_i^3
source_id_ssi
previous_ils_ids_ssim
doi_ssim
contributor_orcids_ssim
</str>
<str name="pf"> <!-- (defType dismax, edismax: phrase boost within result set) -->
main_title_text_anchored_im^500
main_title_text_unstemmed_im^250
main_title_tenim^50
full_title_unstemmed_im^50
full_title_tenim^25
additional_titles_unstemmed_im^25
additional_titles_tenim^15
author_text_nostem_im^15
contributor_text_nostem_im^5
topic_tesim^10
descriptive_text_nostem_i^5
descriptive_tiv^3
descriptive_teiv^2
collection_title_tesim^5
obj_label_tesim^5
identifier_tesim^5
source_id_text_nostem_i^5
</str>
<str name="pf3"> <!-- (defType edismax: token trigrams boost within result set) -->
main_title_text_anchored_im^300
main_title_text_unstemmed_im^150
main_title_tenim^30
full_title_unstemmed_im^30
full_title_tenim^15
additional_titles_unstemmed_im^15
additional_titles_tenim^9
author_text_nostem_im^9
contributor_text_nostem_im^3
topic_tesim^6
descriptive_text_nostem_i^15
descriptive_tiv^9
descriptive_teiv^6
collection_title_tesim^3
obj_label_tesim^3
identifier_tesim^3
source_id_text_nostem_i^3
</str>
<str name="pf2"> <!--(defType edismax: token bigrams boost within result set) -->
main_title_text_anchored_im^200
main_title_text_unstemmed_im^100
main_title_tenim^20
full_title_unstemmed_im^20
full_title_tenim^10
additional_titles_unstemmed_im^10
additional_titles_tenim^6
author_text_nostem_im^6
contributor_text_nostem_im^2
topic_tesim^4
descriptive_text_nostem_i^10
descriptive_tiv^6
descriptive_teiv^4
collection_title_tesim^2
obj_label_tesim^2
identifier_tesim^2
source_id_text_nostem_i^2
</str>
<str name="facet">true</str>
<str name="facet.mincount">1</str>
<str name="facet.limit">10</str>
<str name="facet.field">exploded_project_tag_ssim</str>
<str name="facet.field">exploded_nonproject_tag_ssim</str>
<str name="facet.field">objectType_ssim</str>
<str name="f.objectType_ssim.facet.sort">index</str>
<str name="f.objectType_ssim.facet.method">enum</str>
<str name="facet.field">content_type_ssim</str>
<str name="f.content_type_ssim.facet.sort">index</str>
<str name="f.content_type_ssim.facet.method">enum</str>
<str name="facet.field">collection_title_ssim</str>
<str name="facet.field">nonhydrus_apo_title_ssim</str>
<str name="facet.field">contributor_orcids_ssim</str>
<str name="facet.field">wf_wps_ssim</str>
<str name="facet.field">wf_wsp_ssim</str>
<str name="facet.field">wf_swp_ssim</str>
<str name="facet.field">doi_ssim</str>
<str name="facet.field">barcode_id_ssim</str>
<str name="facet.field">content_file_roles_ssim</str>
<str name="f.content_file_roles_ssim.facet.sort">index</str>
<str name="f.content_file_roles_ssim.facet.method">enum</str>
<str name="facet.field">rights_descriptions_ssim</str>
<str name="f.rights_descriptions_ssim.facet.sort">index</str>
<str name="f.rights_descriptions_ssim.facet.method">enum</str>
<str name="facet.field">use_license_machine_ssi</str>
<str name="f.use_license_machine_ssi.facet.sort">index</str>
<str name="f.use_license_machine_ssi.facet.method">enum</str>
<str name="facet.field">processing_status_text_ssi</str>
<str name="f.processing_status_text_ssi.facet.method">enum</str>
<str name="facet.field">metadata_source_ssim</str>
<str name="f.metadata_source_ssim.facet.method">enum</str>
</lst>
</requestHandler>
<requestHandler name="standard" class="solr.SearchHandler">
<lst name="defaults">
<str name="echoParams">explicit</str>
<str name="defType">lucene</str>
</lst>
</requestHandler>
<!-- for requests to get a single document; use id=666 instead of q=id:666 -->
<requestHandler name="/document" class="solr.SearchHandler" >
<lst name="defaults">
<str name="echoParams">all</str>
<str name="fl">*</str>
<str name="rows">1</str>
<str name="q">{!raw f=id v=$id}</str> <!-- use id=666 instead of q=id:666 -->
</lst>
</requestHandler>
<requestHandler name="/replication" class="solr.ReplicationHandler" startup="lazy" />
<requestHandler name="/get" class="solr.RealTimeGetHandler">
<lst name="defaults">
<str name="omitHeader">true</str>
</lst>
</requestHandler>
<requestDispatcher handleSelect="true" >
<requestParsers enableRemoteStreaming="true" multipartUploadLimitInKB="2048" />
</requestDispatcher>
<requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
<lst name="invariants">
<str name="q">solrpingquery</str>
</lst>
<lst name="defaults">
<str name="echoParams">all</str>
</lst>
</requestHandler>
<!-- for the admin interface -->
<admin>
<defaultQuery>search</defaultQuery>
</admin>
</config>