Dear All,

I am currently experimenting with the Realtime Get handler (https://solr.apache.org/guide/solr/latest/configuration-guide/realtime-get.html) but all request end up returning

{
  "doc":null
}

_______________________________

Example of a NOT WORKING request ==> http://172.16.x.x:8983/solr/collection-name/get?id=2756650842&q.op=OR&q=*%3A*

A request for the same ID using q=id:2756650842 will work just fine:

WORKS ==> http://172.16.x.x:8983/solr/collection-name/select?q.op=OR&q=id%3A2756650842

_______________________________

Background information:

1. My current setup is based on SolrCloud 9.7.0 using TLOG+PULL replicas.

2. Not sure if it is relevant, but SolrCloud is configured by default to direct read requests to non-leader shards and to prefer a local shard.

3. The update log is enabled in my solrconfig.xml:

<updateLog>
    <str name="dir">${solr.ulog.dir:}</str>
<int name="numVersionBuckets">${solr.ulog.numVersionBuckets:65536}</int>
</updateLog>

4. The request handler is configured as follows in solrconfig.xml:

<requestHandler name="/get" class="solr.RealTimeGetHandler">
  <lst name="defaults">
    <str name="omitHeader">true</str>
  </lst>
</requestHandler>

_______________________________

What am I doing wrong?

Thanks in advance.

Regards,
Corrado Fiore

Reply via email to