This looks great. I think provding more expertise/best practices would be great! You could have a “Here is a typical lifecycle for using REINDEXCOMMAND”
> On Aug 16, 2022, at 10:57 AM, Radu Gheorghe <[email protected]> > wrote: > > Hi Eric, > > Thanks, I've added an initial PR here: > https://github.com/apache/solr/pull/974 > <https://github.com/apache/solr/pull/974> > > I did minimal changes for now, so I make it less intrusive. But I can be a > bit more verbose: for example I would mention that the alias would better > be created beforehand, then only changed once reindexing is done so the app > doesn't have to do anything about it. Maybe a mention of removeSource=false > would be good in this context as well? > > Thanks, > Radu > -- > Elasticsearch/OpenSearch & Solr Consulting, Production Support & Training > Sematext Cloud - Full Stack Observability > https://sematext.com/ <https://sematext.com/> <http://sematext.com/ > <http://sematext.com/>> > > > On Wed, Aug 10, 2022 at 2:30 PM Eric Pugh <[email protected] > <mailto:[email protected]>> > wrote: > >> Radu, I’d love to see a PR and work with you to get it added ;-). >> >> >> >>> On Aug 3, 2022, at 1:53 PM, David Smiley <[email protected]> wrote: >>> >>> It's a crying shame REINDEXCOLLECTION isn't documented on the >>> reindexing.html page :-( >>> I could have sworn I observed this and said something somewhere but I >> don't >>> see where. >>> >>> ~ David Smiley >>> Apache Lucene/Solr Search Developer >>> http://www.linkedin.com/in/davidwsmiley < >> http://www.linkedin.com/in/davidwsmiley >> <http://www.linkedin.com/in/davidwsmiley>> >>> >>> >>> On Wed, Aug 3, 2022 at 8:22 AM Eric Pugh < >> [email protected] <mailto:[email protected]> >> <mailto:[email protected] >> <mailto:[email protected]>>> >>> wrote: >>> >>>> Topic came up about reindexing and Solr after seeing Sematext’s blog >> post >>>> about their solr-reindexer tool: >>>> >> https://sematext.com/blog/solr-reindexer-quick-way-to-reindex-to-a-new-collection/ >> >> <https://sematext.com/blog/solr-reindexer-quick-way-to-reindex-to-a-new-collection/> >>>> >>>> I went to read >>>> >> https://solr.apache.org/guide/solr/latest/indexing-guide/reindexing.html >> <https://solr.apache.org/guide/solr/latest/indexing-guide/reindexing.html> >>>> and noticed that there is no mention of the REINDEXCOLLECTION command. >>>> >>>> Should we put a mention of it as an option? Likewise we could >> reference >>>> some of the tools that are out there…. Or point to (if it existed) a >> list >>>> of reindexing tools on http://solr.cool <http://solr.cool/> site…. >>>> >>>> Lastly, am I understanding that REINDEXCOLLECTION only works within a >>>> single cluster, you can’t use it to index across clusters right? That >>>> probably should be flagged on the >>>> >> https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#reindexcollection >> >> <https://solr.apache.org/guide/solr/latest/deployment-guide/collection-management.html#reindexcollection> >>>> page ;-) >>>> >>>> >>>> Eric >>>> _______________________ >>>> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | >>>> http://www.opensourceconnections.com >>>> <http://www.opensourceconnections.com/> < >>>> http://www.opensourceconnections.com/ >>>> <http://www.opensourceconnections.com/> < >> http://www.opensourceconnections.com/ >> <http://www.opensourceconnections.com/>>> | My Free/Busy < >>>> http://tinyurl.com/eric-cal <http://tinyurl.com/eric-cal> >>>> <http://tinyurl.com/eric-cal <http://tinyurl.com/eric-cal>>> >>>> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed < >>>> >> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw >> >> <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> >> < >> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw >> >> <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> >>>> >>>> >>>> This e-mail and all contents, including attachments, is considered to be >>>> Company Confidential unless explicitly stated otherwise, regardless of >>>> whether attachments are marked as such. >> >> _______________________ >> Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | >> http://www.opensourceconnections.com <http://www.opensourceconnections.com/> >> < >> http://www.opensourceconnections.com/ >> <http://www.opensourceconnections.com/>> | My Free/Busy < >> http://tinyurl.com/eric-cal <http://tinyurl.com/eric-cal>> >> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed < >> https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw >> >> <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw>> >> >> This e-mail and all contents, including attachments, is considered to be >> Company Confidential unless explicitly stated otherwise, regardless of >> whether attachments are marked as such. _______________________ Eric Pugh | Founder & CEO | OpenSource Connections, LLC | 434.466.1467 | http://www.opensourceconnections.com <http://www.opensourceconnections.com/> | My Free/Busy <http://tinyurl.com/eric-cal> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> This e-mail and all contents, including attachments, is considered to be Company Confidential unless explicitly stated otherwise, regardless of whether attachments are marked as such.
