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.

Reply via email to