nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eduardo dos Santos Leggiero (Issue Comment Edited) (JIRA)" <j...@apache.org>
Subject [jira] [Issue Comment Edited] (NUTCH-1193) Incorrect url transform to lowercase: parameter solr
Date Wed, 02 Nov 2011 14:21:32 GMT

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

Eduardo dos Santos Leggiero edited comment on NUTCH-1193 at 11/2/11 2:20 PM:
-----------------------------------------------------------------------------

My solr url have camelcase format. Eg. http://localhost:8983/solr/CoreExample/
When I try to execute nutch with the "-solr" parameter with cammelcase caracteres in URL,
an error occurs, because the url is transformed to lower case.


Patch:

src/java/org/apache/nutch/crawl/Crawl.java
86c86
<         solrUrl = StringUtils.lowerCase(args[i + 1]);
---
>         solrUrl = args[i + 1];

                
      was (Author: eduardoleggiero):
    When I try to execute nutch with the "-solr" parameter with uppercase caracteres in URL,
an error occurs, because the url is transformed to lower case.


Patch:

src/java/org/apache/nutch/crawl/Crawl.java
86c86
<         solrUrl = StringUtils.lowerCase(args[i + 1]);
---
>         solrUrl = args[i + 1];

                  
> Incorrect url transform to lowercase: parameter solr
> ----------------------------------------------------
>
>                 Key: NUTCH-1193
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1193
>             Project: Nutch
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 1.3
>            Reporter: Eduardo dos Santos Leggiero
>              Labels: crawling
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message