You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Doğacan Güney (JIRA)" <ji...@apache.org> on 2008/09/19 13:44:44 UTC

[jira] Commented: (NUTCH-639) Change LuceneDocumentWrapper visibility from private to protected

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

Doğacan Güney commented on NUTCH-639:
-------------------------------------

This seems to be a frequently requested feature. So I am going to commit this one if no one has objections (actually I am going to make LuceneDocumentWrapper public)

> Change LuceneDocumentWrapper visibility from private to protected
> -----------------------------------------------------------------
>
>                 Key: NUTCH-639
>                 URL: https://issues.apache.org/jira/browse/NUTCH-639
>             Project: Nutch
>          Issue Type: Improvement
>          Components: indexer
>    Affects Versions: 0.9.0
>            Reporter: Guillaume Smet
>            Priority: Minor
>         Attachments: nutch_Indexer_LuceneDocumentWrapper_visibility.diff
>
>
> Hi,
> I'm currently working on a nutch-solr integration based on http://wiki.apache.org/nutch/RunningNutchAndSolr .
> I changed what is proposed in this page a bit so that I don't have to patch Nutch anymore - I just have to add a jar containing a custom Indexer in nutch/lib.
> The only remaining problem which forced me to patch nutch is the following step:
> 9. Edit nutch-trunk/src/java/org/apache/nutch/indexer/Indexer.java changing scope on LuceneDocumentWrapper from private to protected
> Could we consider changing the visibility of LuceneDocumentWrapper to protected directly in Nutch trunk so that we could inherit from Indexer to create our own ones without patching nutch?
> I attached the (trivial...) patch to do so.
> Thanks.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.