Update by ialbert on Wed Jul 17 10:13:48 EDT 2019 from E1-053620.science.psu.edu
@@ -25,7 +25,7 @@ class Command(BaseCommand):
if reindex:
logger.info(f"Setting indexed field to false on all post.")
- Post.objects.exclude(root=None, indexed=False).update(indexed=False)
+ Post.objects.filter(indexed=True).exclude(root=None).update(indexed=False)
if overwrite:
logger.info("Overwriting the index")
