Skip to content

Commit

Permalink
Update to Solr 6.6.5 and fix some deprecated analysers
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesname committed Dec 14, 2018
1 parent d3d729f commit 1dc46b9
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Ubuntu-based Solr container
FROM solr:6.4
FROM solr:6.6

ENV SOLR_HOME=/opt/solr/solr-config/ehri

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</modules>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<solr.version>6.4.0</solr.version>
<solr.version>6.6.5</solr.version>
</properties>

<issueManagement>
Expand Down
4 changes: 2 additions & 2 deletions solr-config/core/conf/schema.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@
<!-- Remove diacritics and white space tokenizer -->
<!-- treat hyphens equal to whitespace during query time -->
<filter class="solr.PatternReplaceFilterFactory" pattern="(\-)" replacement=" " replace="all"/>
<filter class="solr.WordDelimiterFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0"/>
<filter class="solr.WordDelimiterGraphFilterFactory" generateWordParts="1" generateNumberParts="1" catenateWords="0" catenateNumbers="0" catenateAll="0" splitOnCaseChange="0" splitOnNumerics="0"/>
<filter class="solr.StopFilterFactory" ignoreCase="true" words="generic_swl.txt"/>
<filter class="solr.SynonymFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.SynonymGraphFilterFactory" synonyms="synonyms.txt" ignoreCase="true" expand="true"/>
<filter class="solr.LowerCaseFilterFactory"/>
</analyzer>
</fieldType>
Expand Down

0 comments on commit 1dc46b9

Please sign in to comment.