Skip to content
This repository has been archived by the owner on Jan 5, 2021. It is now read-only.

Commit

Permalink
Update schema.xml for Solr 8
Browse files Browse the repository at this point in the history
Makes changes to the schema.xml to support Solr 8. Removes the
StandardFilterFactory which has been deprecated and was a no-op, so
removing it doesn't affect anything related to indexind.

Updates the different solr wrapper files so we can continue to use the
solr_wrapper gem.
  • Loading branch information
awead committed Jun 20, 2019
1 parent 3364885 commit a6204a6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .solr_wrapper.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# .solr_wrapper
version: 7.4.0
version: 8.1.1
port: 8983
instance_dir: tmp/solr-development
download_dir: tmp
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ GEM
mono_logger (1.1.0)
msgpack (1.2.4)
multi_json (1.13.1)
multipart-post (2.0.0)
multipart-post (2.1.1)
mustermann (1.0.3)
namae (1.0.1)
net-http-persistent (3.0.0)
Expand Down Expand Up @@ -544,7 +544,7 @@ GEM
rubocop (>= 0.68.0)
rubocop-rspec (1.32.0)
rubocop (>= 0.60.0)
ruby-progressbar (1.10.0)
ruby-progressbar (1.10.1)
ruby_parser (3.12.0)
sexp_processor (~> 4.9)
rubyzip (1.2.3)
Expand Down
2 changes: 1 addition & 1 deletion config/solr_wrapper_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# config/solr_wrapper_test.yml
version: 7.4.0
version: 8.1.1
port: 8985
instance_dir: tmp/solr-test
download_dir: tmp
Expand Down
2 changes: 1 addition & 1 deletion config/travis/solr_wrapper_test.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# config/travis/solr_wrapper_test.yml
version: 7.1.0
version: 8.1.1
port: 8985
instance_dir: solr-test
download_dir: dep_cache
Expand Down
1 change: 0 additions & 1 deletion solr/config/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,6 @@
<fieldType class="solr.TextField" name="textSuggest" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.KeywordTokenizerFactory"/>
<filter class="solr.StandardFilterFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.RemoveDuplicatesTokenFilterFactory"/>
</analyzer>
Expand Down
2 changes: 1 addition & 1 deletion solr/config/solrconfig.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<config>
<luceneMatchVersion>7.0</luceneMatchVersion>
<luceneMatchVersion>8.1</luceneMatchVersion>
<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/extraction/lib" regex=".*\.jar" />
Expand Down

0 comments on commit a6204a6

Please sign in to comment.