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

Adding support for EmbeddedSolrServer to SolrIndexer

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 1.5
    • 1.8
    • indexer
    • Patch Available

    Description

      Here is a hack to allow somebody to plug their own SolrServer into SolrIndexer. It allows people to use EmbeddedSolrServer in Nutch.

      It works by:
      adding a constructor in SolrIndexer with parameter SolrServer,
      adding an ugly method of getSolrServer into SolrUtils which returns SolrServer if there is one provided by the programmer or returns default getCommonsHttpSolrServer(...)
      replacing every occurrence of getCommonsHttpSolrServer by getSolrServer.

      Hope this helps. This is my first patch ever to FOSS community so I hope I am doing it correctly.

      Attachments

        1. embeddedsolrserver.patch
          4 kB
          Emre Çelikten

        Activity

          People

            Unassigned Unassigned
            emrecelikten Emre Çelikten
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: