Assuming you need to access sibling core from UpdateRequestHandler you can
how it's done on cross core join
https://github.com/apache/lucene-solr/blob/trunk/solr/core/src/java/org/apache/solr/search/join/ScoreJoinQParserPlugin.java#L256
don't forget to close all resources.



On Mon, Oct 19, 2015 at 7:07 AM, Kilian Woods <kilian.wo...@gmail.com>
wrote:

> Hi All,
>
> I am looking to solve a design problem of mine.
>
> I want to create a SolrIndexSearcher for a *different* core inside a
> RequestProcessor.
>
> I know how to create a SolrIndexSearcher from the SolrQueryRequest but I
> want to search a different core instead. I want to update the current
> document with data from another core.
>
> At the moment I am creating a separate HttpSolrServer for the different
> core and querying that way but would like to simplify as this approach
> seems inefficient.
>
> Any ideas?
>
> Kind Regards,
> Kilian.
>



-- 
Sincerely yours
Mikhail Khludnev
Principal Engineer,
Grid Dynamics

<http://www.griddynamics.com>
<mkhlud...@griddynamics.com>

Reply via email to