Hi,

https://github.com/apache/solr/blob/releases/solr/9.5.0/solr/core/src/java/org/apache/solr/handler/component/SearchHandler.java#L722
 looks like it can generate an `rid` of that format. Though that of course 
doesn't solve the `null` mystery part.

Hope that helps.

Christine

From: users@solr.apache.org At: 04/02/24 13:36:57 UTC+1:00To:  
users@solr.apache.org
Subject: Re: rid is preceded with "null" after migrating from solr 8.10 to 9.5

Hello all,

Any suggestions on the above mentioned points?

*Pasting sample logs below FYR:*
Sample log in solr 8.10:
Apr, 02 2024 17:48:23 org.apache.solr.core.SolrCore.Request
INFO : webapp=/solr path=/select params={sample_query_here} *rid=-1234* hits=50
status=0 QTime=73

Sample log in solr 9.5:
Apr, 02 2024 17:48:23 org.apache.solr.core.SolrCore.Request
INFO : webapp=/solr path=/select params={sample_query_here} *rid=null-1234*
hits=50 status=0 QTime=73


*Thanks & Regards,*
*Uday Kumar*


On Mon, Mar 18, 2024 at 8:59 PM Uday Kumar <uday.p...@indiamart.com> wrote:

> Hello all,
>
>
> We are trying to migrate solr from v8.10 to v9.5
>
>
> Issue:
>
> In solr 8.10, we were getting rid in following format "-1234" in our solr
> logs which helped us in determining main solr requests.
>
> But after migrating to solr9.5 we are getting rid as "null-1234".
>
> Can someone please let us know why null is prepended in rid value here?
>
>
> Thanks and regards,
>
> Uday Kumar
>


Reply via email to