forked from solariumphp/solarium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solr 9.7 → 9.8 for integration tests
- Loading branch information
1 parent
354b915
commit dcd882a
Showing
8 changed files
with
110 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
index 360e6dbf8ee..949a0b1c5f8 100644 | ||
--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
@@ -83,6 +83,8 @@ | ||
<lib dir="${solr.install.dir:../../../..}/contrib/velocity/lib" regex=".*\.jar" /> | ||
<lib dir="${solr.install.dir:../../../..}/dist/" regex="solr-velocity-\d.*\.jar" /> | ||
|
||
+ <lib dir="${solr.install.dir:../../../..}/dist"/> | ||
+ | ||
<!-- an exact 'path' can be used instead of a 'dir' to specify a | ||
specific jar file. This will cause a serious error to be logged | ||
if it can't be loaded. | ||
@@ -1040,6 +1042,39 @@ | ||
|
||
--> | ||
|
||
+ <!-- A request handler for MLT queries. | ||
+ --> | ||
+ <requestHandler name="/mlt" class="solr.MoreLikeThisHandler" /> | ||
+ | ||
+ <!-- A request handler for Facet, Highlight, and Spellcheck components | ||
+ --> | ||
+ <requestHandler name="/componentdemo" class="solr.SearchHandler"> | ||
+ <lst name="defaults"> | ||
+ <str name="echoParams">explicit</str> | ||
+ | ||
+ <!-- Query settings --> | ||
+ <str name="df">text</str> | ||
+ <str name="defType">edismax</str> | ||
+ <str name="qf"> | ||
+ text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 | ||
+ title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 | ||
+ </str> | ||
+ <str name="mm">100%</str> | ||
+ <str name="q.alt">*:*</str> | ||
+ <str name="rows">10</str> | ||
+ <str name="fl">*,score</str> | ||
+ | ||
+ <str name="facet">on</str> | ||
+ <str name="hl">on</str> | ||
+ <str name="spellcheck">on</str> | ||
+ </lst> | ||
+ | ||
+ <!-- append spellchecking to our list of components --> | ||
+ <arr name="last-components"> | ||
+ <str>spellcheck</str> | ||
+ </arr> | ||
+ </requestHandler> | ||
+ | ||
<!-- Spell Check | ||
|
||
The spell check component can return a list of alternative spelling |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
index 17d07d3c23c..d130a823f00 100644 | ||
--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/solrconfig.xml | ||
@@ -703,6 +703,39 @@ | ||
<int name="xsltCacheLifetimeSeconds">5</int> | ||
</requestHandler> | ||
|
||
+ <!-- A request handler for MLT queries. | ||
+ --> | ||
+ <requestHandler name="/mlt" class="solr.MoreLikeThisHandler" /> | ||
+ | ||
+ <!-- A request handler for Facet, Highlight, and Spellcheck components | ||
+ --> | ||
+ <requestHandler name="/componentdemo" class="solr.SearchHandler"> | ||
+ <lst name="defaults"> | ||
+ <str name="echoParams">explicit</str> | ||
+ | ||
+ <!-- Query settings --> | ||
+ <str name="df">text</str> | ||
+ <str name="defType">edismax</str> | ||
+ <str name="qf"> | ||
+ text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 | ||
+ title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 | ||
+ </str> | ||
+ <str name="mm">100%</str> | ||
+ <str name="q.alt">*:*</str> | ||
+ <str name="rows">10</str> | ||
+ <str name="fl">*,score</str> | ||
+ | ||
+ <str name="facet">on</str> | ||
+ <str name="hl">on</str> | ||
+ <str name="spellcheck">on</str> | ||
+ </lst> | ||
+ | ||
+ <!-- append spellchecking to our list of components --> | ||
+ <arr name="last-components"> | ||
+ <str>spellcheck</str> | ||
+ </arr> | ||
+ </requestHandler> | ||
+ | ||
<!-- Spell Check | ||
|
||
The spell check component can return a list of alternative spelling |