в переходе с рельсов 3.2 (где работают согласно конструкции) к рельсам 4.2, приложение с ThinkingSphinx на 4.2 будет работать rebuild
и restart
, однако индексы не создаются с помощью следующего потока ошибокмышление Sphinx миграции без включенных локальных индексов
using config file '/Users/main/r/saim/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.
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.
WARNING: key 'sql_query_info' was permanently removed from Sphinx configuration. Refer to documentation for details.
WARNING: 7 more warnings skipped.
indexing index 'azienda_core'...
ERROR: source 'azienda_core_0': unknown type 'pgsql'; skipping.
ERROR: index 'azienda_core': failed to configure some of the sources, will not index.
thiking_sphinx.yml сконфигурирован как:
development:
bin_path: /usr/local/bin
pid_file: /Users/main/r/saim/shared/tmp/searchd.pid
configuration_file: /Users/main/r/saim/config/development.sphinx.conf
indices_location: /Users/main/r/saim/shared/sphinx
use_64_bit: true
# enable_star: true
min_infix_len: 2
# max_matches: 1000
mysql41: 9313
mem_limit: 128M
utf8: true
и sphinx.yml (я попытался с и без spinx.yml в папке конфигурации с идентичными результатами)
development:
bin_path: /usr/local/bin
searchd_file_path: /Users/main/r/saim/shared/sphinx
use_64_bit: true
enable_star: 1
min_infix_len: 1
max_matches: 10000
port: 9313
установленные самоцветы
gem 'mysql2', '0.3.18', :platform => :ruby
gem 'thinking-sphinx', '3.1.2'
не знаю, почему PgSQL является зависание ...
Пятно на. Локальная работа на новом компьютере и перенос приложения на этот. Могу ли я предложить обновить страницу http://freelancing-gods.com/thinking-sphinx/common_issues.html (и ее братьев и сестер), чтобы включить эту информацию. Эти установки устанавливают yonks назад, что я полагался на документацию ... Приветствия! – Jerome