[
https://issues.apache.org/jira/browse/NUTCH-1580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13686350#comment-13686350
]
Lewis John McGibbney commented on NUTCH-1580:
---------------------------------------------
I have spent an hour or so jumping through the test for index-static, which
work fine for me locally and I can see the fields with the elements within the
Array.
When I use indexchecker I get the following
{code:xml}
law@CEE279Law3-Linux:~/Downloads/asf/trunk/runtime/local$ ./bin/nutch
indexchecker http://nutch.apache.org
fetching: http://nutch.apache.org
parsing: http://nutch.apache.org
contentType: text/html
topic : [Ljava.lang.String;@31cc0c56
content : Welcome to Apache Nutch Apache > Nutch > Home @ select
provider Lucid Find Search-Lucene Main Wik
author : [Ljava.lang.String;@4b3dfba4
title : Welcome to Apache Nutch
host : nutch.apache.org
tstamp : Mon Jun 17 20:17:31 PDT 2013
url : http://nutch.apache.org
{code}
As you can see both the static fields e.g. topic and author are references to
the object(s) rather than the object values.
Can someone point me out where I am not seeing this please?
> index-metadata returns object instead of value for index.static
> ---------------------------------------------------------------
>
> Key: NUTCH-1580
> URL: https://issues.apache.org/jira/browse/NUTCH-1580
> Project: Nutch
> Issue Type: Bug
> Components: indexer
> Affects Versions: 1.6
> Reporter: Antoinette
> Fix For: 1.9
>
>
> index.static is trying to print out the string array and it's printing the
> string array object, not the contents of the array
--
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