nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emre Çelikten (JIRA) <j...@apache.org>
Subject [jira] [Created] (NUTCH-1382) Adding support for EmbeddedSolrServer to SolrIndexer
Date Fri, 08 Jun 2012 15:38:22 GMT
Emre Çelikten created NUTCH-1382:
------------------------------------

             Summary: Adding support for EmbeddedSolrServer to SolrIndexer
                 Key: NUTCH-1382
                 URL: https://issues.apache.org/jira/browse/NUTCH-1382
             Project: Nutch
          Issue Type: Improvement
          Components: indexer
    Affects Versions: 1.5
            Reporter: Emre Çelikten
         Attachments: embeddedsolrserver.patch

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message