Skip to content

Commit a51db72

Browse files
committed
XWIKI-23999: British (en_GB) content is not supported by Solr search (#5204)
(cherry picked from commit 66b5b90)
1 parent 977f973 commit a51db72

File tree

1 file changed

+2
-0
lines changed
  • xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core-search/src/main/resources/conf

1 file changed

+2
-0
lines changed

xwiki-platform-core/xwiki-platform-search/xwiki-platform-search-solr/xwiki-platform-search-solr-server/xwiki-platform-search-solr-server-core-search/src/main/resources/conf/managed-schema.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,8 @@
542542
finally applies Porter's stemming. The query time analyzer also applies synonyms from synonyms.txt. -->
543543
<!-- XWiki: XWiki historically uses a diffferent suffix than the standard one -->
544544
<dynamicField name="*_en" type="text_en" indexed="true" stored="true" multiValued="true"/>
545+
<dynamicField name="*_en_GB" type="text_en" indexed="true" stored="true" multiValued="true"/>
546+
<dynamicField name="*_en_US" type="text_en" indexed="true" stored="true" multiValued="true"/>
545547
<fieldType name="text_en" class="solr.TextField" positionIncrementGap="100">
546548
<analyzer type="index">
547549
<tokenizer name="standard"/>

0 commit comments

Comments
 (0)