On 3/25/2022 12:04 PM, Phil Budne wrote:
BUT, the alias definition does not persist between restarts.  I
haven't spotted any newly written (aliases.json?) file(s) created on
any of the shards, or the zookeper system (all of the shards and
zookeeper are running in Docker containers).

All that should be in zookeeper, not on the filesystem.  If you're looking for aliases.json on disk, you won't find it unless you create it.  And any file like that which you create will not be used.

I have never heard of aliases disappearing when a SolrCloud node restarts.  And if it does disappear somehow, then it should affect ALL the Solr nodes in the cluster, not just the one that restarted.  I did some searches in Jira, the bug tracker, and didn't find anything.

I just tried the cloud example on 8.11.1 and it functioned exactly as expected.  I created an alias, tested it, restarted both nodes, and the alias was still there.

Solr 6.5.0 and 6.5.1 seem to be a little different.  It appears that the admin UI in this version does NOT display aliases.  But the alias worked after I created it, and still worked after restarting both nodes.  But the alias NEVER showed in the admin UI, either before or after the restarts.  So Solr appears to be working correctly, but the admin UI may not show aliases.  I did the alias creation in the admin UI, so I found it very strange that it didn't show there.

There will be no more 6.x releases.  Soon there won't even be more 8.x releases except for major show-stopper or security bugs ... the project is in the process of releasing 9.0.0.

Don't go by what the admin UI shows you.  Try accessing http://server:port/solr/xxxx/select?q=*:* ... substituting the correct server, port, and alias name.

Thanks,
Shawn

Reply via email to