You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@solr.apache.org by Harish Alwala <ha...@gmail.com> on 2026/03/26 06:58:40 UTC

SolrJ implementation

Hi

We are working on SolrJ (version 10) with Solr instance version 10.

The problem is, when we run the code it is successfully executed but the
inserted documents *do not show up* in the Solr console. Not shown when
queried.

The same works perfectly when inserted using http call.

Solr server is a standalone server not a cloud deployment (no zookeeper)

I have attached code and logs.

Help us understand what we are missing here.

-- 
Regards
Harish Alwala

Re: SolrJ implementation

Posted by Andy Webb <an...@gmail.com>.
hi Harish - I suspect you're not sending commits:
https://solr.apache.org/guide/solr/latest/configuration-guide/commits-transaction-logs.html

hope this helps!
Andy

On Thu, 26 Mar 2026 at 13:40, Harish Alwala <ha...@gmail.com> wrote:

> Hi
>
> We are working on SolrJ (version 10) with Solr instance version 10.
>
> The problem is, when we run the code it is successfully executed but the
> inserted documents *do not show up* in the Solr console. Not shown when
> queried.
>
> The same works perfectly when inserted using http call.
>
> Solr server is a standalone server not a cloud deployment (no zookeeper)
>
> I have attached code and logs.
>
> Help us understand what we are missing here.
>
> --
> Regards
> Harish Alwala
>

Re: SolrJ implementation

Posted by David Smiley <ds...@apache.org>.
I don't think attachments work on the mailing list.

I recommend that you try a debugger and/or trace level logging to see
what's going on.

On Thu, Mar 26, 2026 at 9:40 AM Harish Alwala <ha...@gmail.com> wrote:
>
> Hi
>
> We are working on SolrJ (version 10) with Solr instance version 10.
>
> The problem is, when we run the code it is successfully executed but the inserted documents do not show up in the Solr console. Not shown when queried.
>
> The same works perfectly when inserted using http call.
>
> Solr server is a standalone server not a cloud deployment (no zookeeper)
>
> I have attached code and logs.
>
> Help us understand what we are missing here.
>
> --
> Regards
> Harish Alwala