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

Robert Muir commented on SOLR-4565:
-----------------------------------

This looks nice: maybe instead of using String as a parameter, the stemmer can 
take enum or int flags? The latter seems simplest to me as "both" is allowed, 
and then we wouldnt need the useNynorsk() or useBokmaal() that do string 
comparisons.

                
> Extend NorwegianMinimalStemFilter to handle "nynorsk"
> -----------------------------------------------------
>
>                 Key: SOLR-4565
>                 URL: https://issues.apache.org/jira/browse/SOLR-4565
>             Project: Solr
>          Issue Type: Improvement
>          Components: Schema and Analysis
>            Reporter: Jan Høydahl
>         Attachments: SOLR-4565.patch
>
>
> Norway has two official languages, both called "Norwegian", namely Bokmål 
> (nb_NO) and Nynorsk (nn_NO).
> The NorwegianMinimalStemFilter and NorwegianLightStemFilter today only works 
> with the largest of the two, namely Bokmål.
> Propose to incorporate "nn" support through a new "vaiant" config option:
> * variant="nb" or not configured -> Bokmål as today
> * variant="nn" -> Nynorsk only
> * variant="no" -> Remove stems for both nb and nn

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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

Reply via email to