[ 
https://issues.apache.org/jira/browse/SOLR-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man resolved SOLR-2281.
----------------------------

       Resolution: Duplicate
    Fix Version/s: 4.0
                   3.1
         Assignee: Robert Muir

Başar: thank you for your bug report,

This particular issue was already addressed in LUCENE-2466, and you can verify 
the fix using the 3x or trunk branches.

If you find anymore locale related problems however, please don't hesitate to 
report them

> Error: Invalid value 'explicit' for echoParams parameter, use 'EXPLICIT' or 
> 'ALL'
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-2281
>                 URL: https://issues.apache.org/jira/browse/SOLR-2281
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4.1
>            Reporter: Başar Aykut
>            Assignee: Robert Muir
>             Fix For: 3.1, 4.0
>
>
> Invalid value 'explicit' for echoParams paramet2er, use 'EXPLICIT' or 'ALL' 
> error is displayed when the default config file is used. In the config file 
> echoParams value is 'explicit' , however for the Turkish locale uppercase of 
> the word 'explicit' is EXPLİCİT and this doesn't match the word 'EXPLICIT'. 
> toUpperCase(Locale.ENGLISH) can be used instead of using it with the default 
> locale:
> {code}
>   public enum EchoParamStyle {
>     EXPLICIT,
>     ALL,
>     NONE;
>     
>     public static EchoParamStyle get( String v ) {
>       if( v != null ) {
>         v = v.toUpperCase();
>         if( v.equals( "EXPLICIT" ) ) {
>           return EXPLICIT;
>         }
>         if( v.equals( "ALL") ) {
>           return ALL;
>         }
>         if( v.equals( "NONE") ) {  // the same as nothing...
>           return NONE;
>         }
>       }
>       return null;
>     }
>   };
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to