lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Srinu Lella <lellasr...@gmail.com>
Subject Re: Need to connect solr with solrj from AWS lambda
Date Tue, 04 Sep 2018 18:48:21 GMT
How to unsubscribe from this list?

On Fri 31 Aug, 2018, 11:08 PM nalsrini, <nallurisrini01@gmail.com> wrote:

> Hi,
> I need to connect solr with solrj from AWS java lambda. I use solr 5.3.
>
> I get the client object like this:
> SolrClient client = new
> HttpSolrClient(System.getenv(SysEnvConstants.SOLR_HOST));
>
> I neither get an error nor a response when I call these(for example) from
> the lambda:
>
> SolrDocument sorld = client.getById(id);
>
> OR
>
> UpdateResponse ur = client.deleteByQuery(sb.toString());
>
> thanks
> Srini
>
>
>
> --
> Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html
>

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