ruby on rails 4.2 - Thinking Sphinx migration without enabled local indexes -


in migrating rails 3.2 (where running per design) rails 4.2, application thinkingsphinx on 4.2 run rebuildand restart, indexes not being created following error stream

using config file '/users/main/r/saim/config/development.sphinx.conf'... warning: key 'sql_query_info' permanently removed sphinx configuration. refer documentation details. warning: key 'charset_type' permanently removed sphinx configuration. refer documentation details. warning: key 'sql_query_info' permanently removed sphinx configuration. refer documentation details. warning: key 'charset_type' permanently removed sphinx configuration. refer documentation details. warning: key 'sql_query_info' permanently removed sphinx configuration. refer documentation details. warning: 7 more warnings skipped. indexing index 'azienda_core'... error: source 'azienda_core_0': unknown type 'pgsql'; skipping. error: index 'azienda_core': failed configure of sources, not index. 

thiking_sphinx.yml configured as:

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 

and sphinx.yml (i attempted both , without spinx.yml in config folder identical results)

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 

installed gems are

gem 'mysql2', '0.3.18', :platform => :ruby gem 'thinking-sphinx', '3.1.2' 

not sure why pgsql hangup...

sphinx saying it's not configured postgresql support. have re-installed sphinx recently? , did explicitly configure postgresql support when doing so? that's not default, you'll need use appropriate configuration flag when doing so. believe it's --with-postgresql when using homebrew, , it's --with-pgsql when compiling manually.


Comments