1)
'Settings' object has no attribute 'database _ engine'
Solution: django1.4 deleted database_engine and changed the database_engine in the app to settings. Databases ['default'] ['engine'].
2)
indexer.exe –config sphinx.conf testSphinx_story
Fatal:No readableconfigfile(Looked
In./sphexample. conf)
Solution: Change-config to -- config.
3)
Query cannot be introduced.
No cause is found
4)run indexer.exe -- config E:/sphinx-0.9.9-win32/sphinx. conf error:
Error: Section 'myapp _ Meida '(type = 'source') already exists
Delete the part related to index_name in/sphexample. conf.
Searchd -- config E:/sphinx-0.9.9-win32/sphexample. conf error reported,
Warning: Index 'myapp _ Meida ': preload: failed to open E:/data/myapp_meida.7d: no such file or directory; not serving
Fatal: no valid indexes to serve
I don't know if it is related to the part of index_name that I deleted.