开发者

Problem to run Sphinx on Ruby on Rails 2.3.2

开发者 https://www.devze.com 2022-12-16 10:44 出处:网络
Yesterday I was trying to install Sphinx for full-text search on Windows 7. So, I followed their website\'s installation steps.

Yesterday I was trying to install Sphinx for full-text search on Windows 7. So, I followed their website's installation steps. Once I installed its windows service, I ran the indexer and then the test search against my app database and it worked great.

Then, I wanted to make it work on Ruby on Rails 2.3.2, so I downloaded and installed the thinking-sphinx plugin. I followed these steps, creating the sphinx.conf file at the config directory of m开发者_Go百科y app, and then I ran the rake thinking-sphinx:indexer and it worked great. After that, when I wanted to start it, as it's explained in that guide, it didn't start...it just keep saying "thinking-sphinx:start", and it didn't either stop or start.

What am I doing wrong?

Thanks, Brian


Well, it seems that without starting it using rake it works anyway...it's maybe because the Sphinx service is already started, so you don't need to start it also with the rake from ruby.

I've got another doubt now...I'm from Argentina and we use accents to write in some words...for example "acción", which means "action" in english. I tried searching that word without the accent(people don't ussually write accents on searches) and it didn't bring any results, but if I search it with the accent, it will bring results.

How can I fix that?

Thanks, Brian

0

精彩评论

暂无评论...
验证码 换一张
取 消