ThinkingSphinx 색인 작업을 실행할 때 bundle exec rake ts:index
오류가 발생합니다. 즉, unknown type 'mysql'; skipping.
MySQL을 사용하여 Sphinx 설치를 구성 할 수 없습니다.
ERROR LOG: Generating configuration to ../../config/development.sphinx.conf Sphinx 2.2.4-id64-release (r4806) Copyright (c) 2001-2014, Andrew Aksyonoff Copyright (c) 2008-2014, Sphinx Technologies Inc (http://sphinxsearch.com)
using config file '../../config/development.sphinx.conf'... WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details. WARNING: key 'charset_type' was permanently removed from Sphinx configuration.
Refer to documentation for details. indexing index 'video_core'... ERROR: source 'video_core_0': unknown type 'mysql'; skipping. ERROR: index 'video_core': failed to configure some of the sources, will not index. skipping non-plain index 'video'... total 0 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg total 0 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
실패 솔루션 :
- 매버릭스에 브루를 사용하여 스핑크스를 다시 설치합니다.
brew install sphinx --with-mysql=/usr/local/Cellar/mysql/5.6.20_1/include/mysql
brew install sphinx --with-mysql
감사합니다. @pat. 이제 작동합니다! –