| step1: | ||
|---|---|---|
| before you are installing thinking sphinx.you need sphinx so follow the steps.download the binaries, not the source code, and add the bin folder to the Windows Path environment variable.(mostly already present in windows path environment ) | available in the url,http://sphinxsearch.com/downloads.html | |
| step2: | ||
|---|---|---|
| next step | Go to Sphinx downloads page specified in http://sphinxsearch.com/downloads.html and download the Win32 release binaries with MySQL support.it is sphinx-0.9.8-win32.zip. | |
| step3: | ||
|---|---|---|
| final step to install the sphinx | Unzip the downloaded file and open the bin folder. Select and copy all files and paste them in your ruby/bin folder. If some files already exist in your ruby/bin folder, don't replace them. | |
| Install the Thinking Sphinx plugin: | ||
|---|---|---|
| goto your current project then | ruby script/plugin install git://github.com/freelancing-god/thinking-sphinx.git. | |
| To configure sphinx to your project:- | ||
| use this command in your project path(eg. c:/ruby/projectname) | rake:thinking_sphinx:configure | |
| you can check with the following after indexing the model: | ||
|---|---|---|
| use command | rake thinking_sphinx:start | |
| use command | rake thinking_sphinx:index | |
| use command | rake thinking_sphinx:stop | |
| search options helper: | ||
|---|---|---|
| web url | http://ts.freelancing-gods.com/ | |
| http://ts.freelancing-gods.com/usage.html | ||