lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Baloo <>
Subject Query construction in custom Solr component plugin
Date Mon, 27 Feb 2017 08:38:02 GMT

I have developed a solr component which expands users query and adds
additional clauses to the query. For this expansion we are making request to
external REST api's. This query expansion logic is mainly in prepare()
method. Everything works as expected in standalone mode. When we deploy this
plugin in SolrCloud environment each shard is calling external REST api for
query expansion. 

My question is that can we make only one call to external REST api since its
the same request sent from each shard to external service. How can we modify
our component to make only one call per search request ?

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message