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

Sebastian Nagel commented on NUTCH-1707:
----------------------------------------

Since this is really a small and simple class: +1 to use it for tests etc.
* "initializing the writer in open() won't work": it should work, but caveat: 
open is called a second time for commit. Maybe writer is then overwritten.
* {{doc.getFieldValue("id")}}: should be "url"?

> DummyIndexingWriter
> -------------------
>
>                 Key: NUTCH-1707
>                 URL: https://issues.apache.org/jira/browse/NUTCH-1707
>             Project: Nutch
>          Issue Type: Improvement
>          Components: indexer
>            Reporter: Markus Jelsma
>            Assignee: Markus Jelsma
>             Fix For: 1.8
>
>         Attachments: NUTCH-1707-trunk.patch, NUTCH-1707-trunk.patch
>
>
> DummyIndexingWriter that is supposed to write COMMAND\tID to a plain text 
> file. This plain text file can then be parsed by a unit test to check whether 
> IndexerMapReduce actually behaves as it should.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to