You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Nathan Gass (JIRA)" <ji...@apache.org> on 2012/11/07 18:52:13 UTC

[jira] [Created] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Nathan Gass created NUTCH-1493:
----------------------------------

             Summary: Error adding field 'contentLength'='' during solrindex using index-more
                 Key: NUTCH-1493
                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
             Project: Nutch
          Issue Type: Bug
          Components: indexer
    Affects Versions: 2.1, 2.2
            Reporter: Nathan Gass
         Attachments: patch-index-more-20121107.txt

The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.



--
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

[jira] [Resolved] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved NUTCH-1493.
-----------------------------------------

    Resolution: Fixed
      Assignee: Lewis John McGibbney

Committed @revision 1406749 in 2.x
Committed @revision 1406752 in trunk
Thank you Nathan for the contribution
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493248#comment-13493248 ] 

Hudson commented on NUTCH-1493:
-------------------------------

Integrated in nutch-trunk-maven #485 (See [https://builds.apache.org/job/nutch-trunk-maven/485/])
    NUTCH-1493 Error adding field 'contentLength'= during solrindex using index-more v2 (Revision 1407089)

     Result = SUCCESS
lewismc : 
Files : 
* /nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java

                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493756#comment-13493756 ] 

Hudson commented on NUTCH-1493:
-------------------------------

Integrated in Nutch-trunk #2009 (See [https://builds.apache.org/job/Nutch-trunk/2009/])
    NUTCH-1493 Error adding field 'contentLength'= during solrindex using index-more v2 (Revision 1407089)

     Result = SUCCESS
lewismc : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1407089
Files : 
* /nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java

                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Updated] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated NUTCH-1493:
----------------------------------------

    Affects Version/s: 1.6
    
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Updated] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Nathan Gass (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nathan Gass updated NUTCH-1493:
-------------------------------

    Attachment: patch-index-more-20121107.txt
    
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 2.1, 2.2
>            Reporter: Nathan Gass
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493208#comment-13493208 ] 

Markus Jelsma commented on NUTCH-1493:
--------------------------------------

Thanks :)
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492946#comment-13492946 ] 

Hudson commented on NUTCH-1493:
-------------------------------

Integrated in Nutch-nutchgora #398 (See [https://builds.apache.org/job/Nutch-nutchgora/398/])
    NUTCH-1493 Error adding field 'contentLength'='' during solrindex using index-more (Revision 1406749)

     Result = SUCCESS
lewismc : 
Files : 
* /nutch/branches/2.x/CHANGES.txt
* /nutch/branches/2.x/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java

                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13493145#comment-13493145 ] 

Lewis John McGibbney commented on NUTCH-1493:
---------------------------------------------

I'll fix ASAP
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492594#comment-13492594 ] 

Hudson commented on NUTCH-1493:
-------------------------------

Integrated in nutch-trunk-maven #483 (See [https://builds.apache.org/job/nutch-trunk-maven/483/])
    NUTCH-1493 Error adding field 'contentLength'='' during solrindex using index-more (Revision 1406752)

     Result = SUCCESS
lewismc : 
Files : 
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java

                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Updated] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney updated NUTCH-1493:
----------------------------------------

    Fix Version/s: 2.2
                   1.6
    
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Resolved] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved NUTCH-1493.
-----------------------------------------

    Resolution: Fixed

A classic syntax screw up from me when committing initial patch to trunk... apologies.
2nd fix for trunk Committed @revision 1407089
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Reopened] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Markus Jelsma (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Markus Jelsma reopened NUTCH-1493:
----------------------------------


There's a build problem in trunk:

{code}
     [echo] Compiling plugin: index-more
    [javac] /home/markus/projects/apache/nutch/trunk/src/plugin/build-plugin.xml:117: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /home/markus/projects/apache/nutch/trunk/build/index-more/classes
    [javac] /home/markus/projects/apache/nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java:173: not a statement
    [javac]       String trimmed = contentLength.toString().trim();
    [javac]       ^
    [javac] /home/markus/projects/apache/nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java:173: ';' expected
    [javac]       String trimmed = contentLength.toString().trim();
    [javac]             ^
    [javac] 2 errors

{code}
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Lewis John McGibbney (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492561#comment-13492561 ] 

Lewis John McGibbney commented on NUTCH-1493:
---------------------------------------------

Good catch. I'll get a patch for trunk also and commit this.
                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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

[jira] [Commented] (NUTCH-1493) Error adding field 'contentLength'='' during solrindex using index-more

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/NUTCH-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13492950#comment-13492950 ] 

Hudson commented on NUTCH-1493:
-------------------------------

Integrated in Nutch-trunk #2008 (See [https://builds.apache.org/job/Nutch-trunk/2008/])
    NUTCH-1493 Error adding field 'contentLength'='' during solrindex using index-more (Revision 1406752)

     Result = FAILURE
lewismc : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1406752
Files : 
* /nutch/trunk/CHANGES.txt
* /nutch/trunk/src/plugin/index-more/src/java/org/apache/nutch/indexer/more/MoreIndexingFilter.java

                
> Error adding field 'contentLength'='' during solrindex using index-more
> -----------------------------------------------------------------------
>
>                 Key: NUTCH-1493
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1493
>             Project: Nutch
>          Issue Type: Bug
>          Components: indexer
>    Affects Versions: 1.6, 2.1, 2.2
>            Reporter: Nathan Gass
>            Assignee: Lewis John McGibbney
>             Fix For: 1.6, 2.2
>
>         Attachments: patch-index-more-20121107.txt
>
>
> The contentLength can be an empty string (I assume this is possible because of NUTCH-1096), but solr does not accept this. The attached patch just checks for empty string contentLength and does not try to index it.

--
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