Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
SOLR_PORT=8983
SOLR_URL=http://solr:8983/solr/blacklight-core
SOLR_VERSION=9 # Temporary until we get configs working with 10
SOLR_VERSION=latest
66 changes: 36 additions & 30 deletions solr/conf/solrconfig.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,50 @@
See the License for the specific language governing permissions and
limitations under the License.
-->

<!--
This is a stripped down config file used for a simple example...
It is *not* a good example to work from.
This is a stripped down config file used for a simple example...
It is *not* a good example to work from.
-->
<config>

<!-- Controls what version of Lucene various components of Solr
adhere to. Generally, you want to use the latest version to
get all bug fixes and improvements. It is highly recommended
that you fully re-index after changing this setting as it can
affect both how text is indexed and queried.
-->
<luceneMatchVersion>5.0.0</luceneMatchVersion>

<lib dir="${solr.install.dir:../../../..}/modules/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lib" />
<lib dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs" />
<lib
dir="${solr.install.dir:../../../..}/contrib/analysis-extras/lucene-libs"
/>

<directoryFactory name="DirectoryFactory"
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}">
</directoryFactory>
<directoryFactory
name="DirectoryFactory"
class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"
>
</directoryFactory>

<codecFactory class="solr.SchemaCodecFactory"/>
<codecFactory class="solr.SchemaCodecFactory" />

<schemaFactory class="ClassicIndexSchemaFactory"/>
<schemaFactory class="ClassicIndexSchemaFactory" />


<dataDir>${solr.blacklight-core.data.dir:}</dataDir>
<requestDispatcher handleSelect="true" >
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />

<requestDispatcher handleSelect="true">
<requestParsers multipartUploadLimitInKB="2048" />
</requestDispatcher>

<requestHandler name="/analysis/field" startup="lazy" class="solr.FieldAnalysisRequestHandler" />

<!-- config for the admin interface -->
<requestHandler
name="/analysis/field"
startup="lazy"
class="solr.FieldAnalysisRequestHandler"
/>

<!-- config for the admin interface -->
<admin>
<defaultQuery>*:*</defaultQuery>
</admin>
Expand Down Expand Up @@ -79,7 +86,7 @@

<!-- this qf and pf are used by default, if not otherwise specified by
client. The default blacklight_config will use these for the
"keywords" search. See the author_qf/author_pf, title_qf, etc
"keywords" search. See the author_qf/author_pf, title_qf, etc
below, which the default blacklight_config will specify for
those searches. You may also be interested in:
http://wiki.apache.org/solr/LocalParams
Expand Down Expand Up @@ -184,20 +191,20 @@
subject_addl_unstem_search^100
subject_addl_t^10
</str>

<int name="ps">3</int>
<float name="tie">0.01</float>

<str name="fl">
id,
id,
score,
author_display,
author_vern_display,
format,
isbn_t,
language_facet,
author_vern_display,
format,
isbn_t,
language_facet,
lc_callnum_display,
material_type_display,
material_type_display,
published_display,
published_vern_display,
pub_date,
Expand All @@ -224,7 +231,7 @@
<str name="facet.field">subject_era_facet</str>
<str name="facet.field">subject_geo_facet</str>
<str name="facet.field">subject_topic_facet</str>

<str name="spellcheck">true</str>
<str name="spellcheck.dictionary">default</str>
<str name="spellcheck.onlyMorePopular">true</str>
Expand Down Expand Up @@ -288,13 +295,13 @@
<arr name="last-components">
<str>spellcheck</str>
</arr>

</requestHandler>

<!-- Spell Check

The spell check component can return a list of alternative spelling
suggestions.
suggestions.

http://wiki.apache.org/solr/SpellCheckComponent
-->
Expand Down Expand Up @@ -349,7 +356,7 @@
</lst>
-->

<!-- a spellchecker that use an alternate comparator
<!-- a spellchecker that use an alternate comparator

comparatorClass be one of:
1. score (default)
Expand Down Expand Up @@ -399,4 +406,3 @@
</requestHandler>

</config>

Loading