问题
On the getting started page of Haystack, it describes the possibility of using one SearchIndex for multple models:
You generally create a unique SearchIndex for each type of Model you wish to index, though you can reuse the same SearchIndex between different models if you take care in doing so and your field names are very standardized.
However I haven't found any information regarding how to do so. The reasoning behind it is that a few Heroku search engine apps provide limited amount of indices, so I think it's a good idea to keep the number of indices slim. How should I do it?
回答1:
No of index will be one only unless you specify in setting.py .Multiple search_index.py files doesnot mean that multiple indexes.
来源:https://stackoverflow.com/questions/16170537/haystack-one-searchindex-for-multiple-models