Skip to content Skip to sidebar Skip to footer

How Do I Add Related Data To A Haystack Model Index?

I have added haystack search to my fledgling django app and managed to create an index for a model, using the template feature. For some reason I am having trouble adding related d

Solution 1:

I think the problem is in "simple" search backend. It's new and is only good for faking search functionality. Try with whoosh, sorl or xapian.

I've looked at haystack/backends/simple.py. This backend is ORM-based and it has no in-memory search index. Only search by model fields will work.


Post a Comment for "How Do I Add Related Data To A Haystack Model Index?"