Data Migration from Solr 8 to Solr Cloud 8

2022-11-13 Thread Eashwar Natarajan
Hi all, We have been using Solr 8 for quite a while. We wanted to migrate the data from solr standalone 8 to solr cloud 8. Is there a way to do it apart from reindexing. Please advise. Regards, Eashwar

How to write custom Solr plugin that can be called core container level instead of core level

2022-11-13 Thread gnandre
e.g. /solr/admin/cores request works without specifying specific core in the request. I took a look at the code of such request handlers (e.g. LoggingHandler) but they simply extend to RequestHandlerBase just like any other core-level request handler. What makes them special so that they do not re

waitForLoadingCoresToFinish does not wait for loading cores to finish

2022-11-13 Thread gnandre
Hi, I am writing a custom Solr plugin and I need to add a check to make sure that all the cores in the node are loaded before proceeding with later code execution. Following is what the code looks like. What I am observing though is that the later code gets executed even if all the cores are not

Re: Data Migration from Solr 8 to Solr Cloud 8

2022-11-13 Thread Shawn Heisey
On 11/13/22 20:44, Eashwar Natarajan wrote: We have been using Solr 8 for quite a while. We wanted to migrate the data from solr standalone 8 to solr cloud 8. Is there a way to do it apart from reindexing. Please advise. If your non-cloud index is not sharded but your cloud i

Re: How to write custom Solr plugin that can be called core container level instead of core level

2022-11-13 Thread Shawn Heisey
On 11/13/22 23:33, gnandre wrote: e.g. /solr/admin/cores request works without specifying specific core in the request. I took a look at the code of such request handlers (e.g. LoggingHandler) but they simply extend to RequestHandlerBase just like any other core-level request handler. What makes

Re: How to write custom Solr plugin that can be called core container level instead of core level

2022-11-13 Thread Shawn Heisey
On 11/13/22 23:55, Shawn Heisey wrote: If you want to create your own global handler, then you can add a definition to ImplicitPlugins.json, which is embedded in the solr-core jar.  Unless you want to do jar surgery, it's best to make that change in the source code and recompile Solr. See htt

Re: How to write custom Solr plugin that can be called core container level instead of core level

2022-11-13 Thread gnandre
Thanks, Shawn. I think what you propose there will be very helpful. There are definitely usecases where we want to work at the solr node level and not core level. Fieldcache is one other example. In my case, I am trying to write a simple health check request handler that makes sure that all cores

Re: Data Migration from Solr 8 to Solr Cloud 8

2022-11-13 Thread Vincenzo D'Amore
Hi Eashwar, may I ask you why do you want move to SolrCloud? Scalability? Or you collection has grown so much that you are thinking to shard it? Ciao, Vincenzo -- mobile: 3498513251 skype: free.dev > On 14 Nov 2022, at 04:45, Eashwar Natarajan wrote: > > Hi all, > >We have been usi