Uploaded image for project: 'Nutch'
  1. Nutch
  2. NUTCH-639

Change LuceneDocumentWrapper visibility from private to protected

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.0
    • Fix Version/s: 1.0.0
    • Component/s: indexer
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              dogacan Dogacan Guney
              Reporter:
              gsmet Guillaume Smet
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: