diff options
| -rw-r--r-- | indoteknik_custom/models/apache_solr.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indoteknik_custom/models/apache_solr.py b/indoteknik_custom/models/apache_solr.py index 16cf5908..16b70808 100644 --- a/indoteknik_custom/models/apache_solr.py +++ b/indoteknik_custom/models/apache_solr.py @@ -65,6 +65,7 @@ class ApacheSolr(models.Model): 'active_b': template.active })] solr.add(document) + template.solr_flag = 1 # add counter for monitoring _logger.info('%s / 500' % counter) _logger.info('Success add to solr product %s' % template.id) |
