Solr django haystack&;解决方案:重建索引,不向索引添加模型

Solr django haystack&;解决方案:重建索引,不向索引添加模型,solr,django-haystack,Solr,Django Haystack,如何将我的模型包含在重建索引的索引中 运行python manage.py rebuild_index-v2会输出以下内容: WARNING: This will irreparably remove EVERYTHING from your search index in connection 'default'. Your choices after this are to restore from backups or rebuild via the `rebuild_index` com

如何将我的模型包含在
重建索引
的索引中

运行python manage.py rebuild_index-v2会输出以下内容:

WARNING: This will irreparably remove EVERYTHING from your search index in connection 'default'.
Your choices after this are to restore from backups or rebuild via the `rebuild_index` command.
Are you sure you wish to continue? [y/N] y

Removing all documents from your index because you said so.
All documents removed.
Skipping '<class 'django.contrib.auth.models.Permission'>' - no index.
Skipping '<class 'django.contrib.auth.models.Group'>' - no index.
Skipping '<class 'django.contrib.auth.models.User'>' - no index.
Skipping '<class 'django.contrib.contenttypes.models.ContentType'>' - no index.
Skipping '<class 'django.contrib.sessions.models.Session'>' - no index.
Skipping '<class 'django.contrib.sites.models.Site'>' - no index.
Skipping '<class 'django.contrib.admin.models.LogEntry'>' - no index.
Skipping '<class 'myapp.models.Article'>' - no index.
Skipping '<class 'myapp.models.Source'>' - no index.
Skipping '<class 'taggit.models.Tag'>' - no index.
Skipping '<class 'taggit.models.TaggedItem'>' - no index.

我正在一个sqlite3数据库上运行django 1.5solr 4haystack 2.0。在我的谷歌搜索中,我看到有人在xapian&whoosh上遇到类似的问题,到目前为止还没有解决方案。我觉得它可能是haystack的新版本,或者是我的sqlite3数据库。有人明白吗?

search\u index.py?这是一个输入错误,因为它应该是search_index.py。不是吗。如果您使用的是正确的名称,请详细说明。

这是一个有用的链接,我发现太晚了: