Thanks Shawn and Eric,

POC would be to add a function in the plugin.. which would query all the 
documents locally (Say 100+ Million Documents) and update 1 or 2 fields with a 
particular value.

As the plugin would be local to this core.. wanted to avoid HTTP calls.

Say if I am in a solr container.. will Embedded server create another container 
locally..? Or will be it like thin client to interact with container similar to 
HTTP.

Regards
Rajan

From: Shawn Heisey <apa...@elyograg.org>
Date: Wednesday, 30 November 2022 at 2:07 AM
To: users@solr.apache.org <users@solr.apache.org>
Subject: [External] : Re: Querying Solr Locally through Java API without using 
HttpClient
On 11/29/22 08:59, Nagarajan Muthupandian wrote:
> Wanted to check if there is any Java API available to query solr locally 
> (Including Pagination) without using the Httpclient.

The Java API (known as SolrJ) uses either Apache httpclient or Jetty
httpclient, depending on which client object you choose. Solr is
designed to use HTTP for access.

As Eric said, you can use EmbeddedSolrServer and have Solr actually
running inside your Java software with no HTTP availability.

We do not recommend running the embedded server in production.  As it
has no network connectivity of any kind, it has no redundancy or high
availability features.

Thanks,
Shawn

Reply via email to