On 1/4/2019 1:04 AM, 유정인 wrote:
The reader was looking for a way to do 'DIH' automatically.
The reason was for HA configuration.
If you send a DIH request to the collection (as opposed to a specific
core), that request will be load balanced across the cloud. You won't
know which replica/core actually handles it. This means that an import
command may be handled by a different host than a status command. In
that situation, the status command will not know about the import,
because it will be running on a different Solr core.
When doing DIH on SolrCloud, you should send your requests directly to a
specific core on a specific node. It's the only way to be sure what's
happening. High availability would have to be handled in your application.
Thanks,
Shawn