lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kilian Woods <kilian.wo...@gmail.com>
Subject Re: RequestProcessor with IndexSearcher for Different Core
Date Mon, 19 Oct 2015 16:57:58 GMT
Hi Mikhail,

Thank you very much, that looks very helpful indeed.

Kilian.

On 19 October 2015 at 15:48, Mikhail Khludnev <mkhludnev@griddynamics.com>
wrote:

> 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.woods@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>
> <mkhludnev@griddynamics.com>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message