You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "John Moylan (JIRA)" <ji...@apache.org> on 2013/02/21 17:30:13 UTC

[jira] [Closed] (SOLR-4483) dismax and edismax can't use % for mm in 4.1 url.

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

John Moylan closed SOLR-4483.
-----------------------------

    Resolution: Not A Problem

Not a bug. Although may be worth mentioning in the 4.0 -> 4.1 upgrade docs?
                
> dismax and edismax can't use % for mm in 4.1 url.
> -------------------------------------------------
>
>                 Key: SOLR-4483
>                 URL: https://issues.apache.org/jira/browse/SOLR-4483
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.1
>         Environment: solr-spec
> 4.1.0.2013.01.16.17.21.36
> solr-impl
> 4.1.0 1434440 - sarowe - 2013-01-16 17:21:36
> lucene-spec
> 4.1.0
> lucene-impl
> 4.1.0 1434440 - sarowe - 2013-01-16 17:16:50
> Sun Microsystems Inc. OpenJDK 64-Bit Server VM (1.6.0_24 20.0-b12)
> [root@solr-test sitesearch]# rpm -qa | grep tomcat
> tomcat6-servlet-2.5-api-6.0.24-48.el6_3.noarch
> tomcat-native-1.1.24-1.el6.x86_64
> tomcat6-jsp-2.1-api-6.0.24-48.el6_3.noarch
> tomcat6-el-2.1-api-6.0.24-48.el6_3.noarch
> tomcat6-6.0.24-48.el6_3.noarch
> tomcat6-lib-6.0.24-48.el6_3.noarch
> Linux solr-test 2.6.32-279.22.1.el6.x86_64 #1 SMP Wed Feb 6 03:10:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
>            Reporter: John Moylan
>
> http://solr-test/sitesearch/clipperdev/select?facet=true&wt=json&qf=slug%5e100.0&qf=title%5e50.0&qf=programme_title%5e10.0&qf=description%5e5.0&qf=media_format%5e5.0&qf=channel_name%5e5.0&rows=10&start=0&sort=published+desc&mm=20%&defType=edismax&q.alt=*:*&indent=on&q=solr
> results in a HTTP 400 response from Solr.
> removing the mm=20% and/or replacing it with a non % eg mm=2 in the url works ok. removing mm=20% from the url and setting it in solrconfig.xml for the default handler works too.
> There is nothing in Tomcat's Catalina.out log's to indicate a problem.
> 400 page has the following message.
> type Status report
> message {msg=URLDecoder: Invalid digit (&) in escape (%) pattern,code=400}
> description The request sent by the client was syntactically incorrect ({msg=URLDecoder: Invalid digit (&) in escape (%) pattern,code=400}).
> Solr 4.0 works fine so this is only a Solr 4.1 issue.

--
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org