Add support for indexing on OCR content changes.

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2018-10-02 03:54:29 -04:00
parent 34c2fd6177
commit fb83a838fb
6 changed files with 56 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
from __future__ import unicode_literals
TEST_OCR_INDEX_NODE_TEMPLATE = '{% if "mayan" in document.latest_version.ocr_content|join:" "|lower %}mayan{% endif %}'