You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2013/01/12 20:16:12 UTC
[jira] [Updated] (NUTCH-1382) Adding support for EmbeddedSolrServer
to SolrIndexer
[ https://issues.apache.org/jira/browse/NUTCH-1382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lewis John McGibbney updated NUTCH-1382:
----------------------------------------
Fix Version/s: 1.7
> 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
> Fix For: 1.7
>
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira