[
https://issues.apache.org/jira/browse/NUTCH-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Emre Çelikten updated NUTCH-1382:
---------------------------------
Attachment: embeddedsolrserver.patch
> 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
> Labels: patch
> 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