diff --git a/oyster/ext/elasticsearch.py b/oyster/ext/elasticsearch.py index ede9924..a52e61d 100644 --- a/oyster/ext/elasticsearch.py +++ b/oyster/ext/elasticsearch.py @@ -18,6 +18,9 @@ class ElasticSearchPush(Task): try: text = kernel.extract_text(doc) + if not text: + self.log.info('no text for %s', doc_id, + extra={'doc_class':doc['doc_class']}) self.log.info('tracked %s', doc_id, extra={'doc_class':doc['doc_class']})