I am maintaining a site that I did not build. It was discovered that some 300 nodes of type "custom" had incorrect url aliases. There are a total of 7961 nodes of type "custom" in the site at this moment.
$ drush sql-query "SELECT COUNT(nid) FROM node WHERE type LIKE 'custom';"
I have found the list of solr drush commands, and I see that
solr-delete-index is able to remove a specific content type and then
solr-mark-all could be used to indicate they should all be reindexed. My question is, how can I reindex only the 300 bad ones on this live site.
I do have their nids in a separate csv file already, made from a custom sql query.
Just to be clear:
- the site is live and important it stays that way
- there is only a small portion of the content type that needs reindexed
- I have all the permissions and access, no need to ask if I can get somewhere. Assume I can.
- I have the means to identify the nodes to reindex and pipe them to various things and languages. I would even
xargsa custom drush script if you have a means for doing this to a single node.