You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nutch.apache.org by "Julien Nioche (JIRA)" <ji...@apache.org> on 2013/11/15 19:03:22 UTC

[jira] [Resolved] (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 ]

Julien Nioche resolved NUTCH-1382.
----------------------------------

    Resolution: Won't Fix

The SOLR indexer has been replaced with a generic indexing mechanism + plugins.

> 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.8
>
>         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 was sent by Atlassian JIRA
(v6.1#6144)