Hello Dmitri,

maybe not the same issue but with missing field a reload needed and Solr
8.11.
-solr 8.11.4 in solrcloud mode with one or more shard replicas on each solr
node.
-create collection with solr config
-index something with all fields
-use solr api to add a new field
-field appears in zookeeper znodes, but does not appear if you query/index
something into the collection or in the solr admin ui schema part.
-if you did a collection reload it appeared.
workaround
-if you used zkcli.sh to upload the modified solr config managed schema
with the added field, it did not need reload and all worked with the new
field.
-this didn't happen on Solr 8.4

We may need to check this on latest Solr 9 as Solr 8 is press F for respect
(EOL).
Hope this helps.

Kind Regards,
Alejandro Arrieta

On Fri, Mar 14, 2025 at 6:52 PM Dmitri Maziuk <dmitri.maz...@gmail.com>
wrote:

> Hi all,
>
> I've a 2-node cluster: num_replicas = 2, num_shards = 1, 3rd node is
> zk-only, running 8.11. I've been posting documents to one node and
> querying the other, and that seemed to work fine until today someone
> noticed a missing field in search results.
>
> So I fixed the ingest script, re-ran it, and the field is there now on
> node1. It was still not there on node2 after 10 or so minutes, and only
> appeared after I hit Reload on the collection.
>
> So, question: is that supposed to happen? Or am I missing something? (I
> did clear browser caches and ran a few other queries in the hope of
> invalidating Solr cache, though that may not have worked, before
> reloading the collection.)
>
> TIA
> Dima
>

Reply via email to