Hi all,
I'm creating some search indexes, but I'm trying to determine if I'm doing it right and am including the correct fields. Is there a way to view how the indexes would render kind of like viewing a Django template.... for the aim of testing and debugging? I'm doing a complex many to many query in the template, and want to make sure it's rendering correctly.
I'm using a Whoosh search backend with django-haystack 2.0.0-beta.
# templates/search/indexes/core/product_text.txt
{{ object.subcategory }}
{{ object.description }}
{% for cp in object.categoryproduct_set.all %}
{{ cp.category }}
{% endfor %}