lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Başar Aykut (JIRA) <>
Subject [jira] Created: (SOLR-2281) Error: Invalid value 'explicit' for echoParams parameter, use 'EXPLICIT' or 'ALL'
Date Sat, 11 Dec 2010 11:38:01 GMT
Error: Invalid value 'explicit' for echoParams parameter, use 'EXPLICIT' or 'ALL'

                 Key: SOLR-2281
             Project: Solr
          Issue Type: Bug
    Affects Versions: 1.4.1
            Reporter: Başar Aykut

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:

  public enum EchoParamStyle {
    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;

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:
For additional commands, e-mail:

View raw message