[ 
https://issues.apache.org/jira/browse/SOLR-9930?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15812066#comment-15812066
 ] 

Jakob Kylberg commented on SOLR-9930:
-------------------------------------

What I did was to add the following field type to the schema.xml: 

{{<fieldType name="collatedSwedish" class="solr.ICUCollationField"
                 locale="se"
                 strength="primary" />}}

I did not make any changes to the solrconfig.

To get it to work I added the lucene-libs/lucene-analyzers-icu-X.Y.jar and 
lib/icu4j-X.Y.jar together with the solr-analysis-extra.X.Y.jar to my 
collection's libs directory. What I'm trying to help clarify is that 
solr-analysis-extra.X.Y.jar is needed together with the icu jars, who are 
already mentioned as dependencies in the readme. To make that clearer I updated 
the pull request.

I'm using Solr 6.3.0. I've also tried this in Solr 6.2.0.

> Incomplete documentation for analysis-extra
> -------------------------------------------
>
>                 Key: SOLR-9930
>                 URL: https://issues.apache.org/jira/browse/SOLR-9930
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: documentation
>            Reporter: Jakob Kylberg
>            Priority: Minor
>              Labels: documentation
>
> The documentation regarding which dependencies that have to be added in order 
> to activate e.g. the ICU analyzer is incomplete. This leads to unnecessary 
> trouble for the user when they have to find the missing dependencies 
> themselves, especially since the error message in the logs and Solr GUI 
> doesn't give a clear hint on what's missing.
> I've created a pull request with updated documentation.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to