Thanks. You think I have to change the path of my installation? Otherwise, I tried your command and change the bin_path in the config.yml but i have the same error.
Otherwise, do you know a way to do a search on a column without sphinx? A tutorial is appreciated. On 26 jan, 00:10, Murilo Soares Pereira <[email protected]> wrote: > Hi, > > You very likely used a non-standard install path to sphinx, e.g your > home directory. > > Please issue the follow command on a terminal: > which searchd > > The output of this command should be your 'bin_path' in config/ > sphinx.yml. > > Hope it works. > > -- > Murilo Soares Pereirahttp://www.comp.ufscar.br/~murilo > > On Jan 25, 8:55 pm, trankh <[email protected]> wrote: > > > Hello, > > > I installed Rails 2.3.4 on the Mac OS X (Snow Leopard) with MAMP for > > mysql. > > Everything works fine. > > > I installed Sphinx by downloading the source Sphinx 0.9.9-rc2 and > > thinking-sphinx-1.3.14. > > > I have an object called ticket that contains a key foreign status_id. > > > These are my files regarding thinkingsphinx interest: > > > model: > > > class Ticket <ActiveRecord:: Base > > belongs_to: status > > > define_index do > > indexes [name, firstname],: as =>: name,: sortable => true > > > end > > > end > > > controller: > > > def index > > > @ tickets = Ticket.search params [: search] > > > end > > > In the development console, a command like Ticket.search "xxx" works > > well and returned my results. > > > By booting the server locally, I have this message > > > => Booting Mongrel > > => Rails 2.3.4 application starting onhttp://0.0.0.0:3000 > > > Sphinx can not be found on your system. You may need to configure the > > following > > settings in your config / sphinx.yml file: > > * Bin_path > > * Searchd_binary_name > > * Indexer_binary_name > > > For more information, read the > > documentation:http://freelancing-god.github.com/ts/en/advanced_config.html > > > I tried to create file sphinx.yml and to indicate the path of Sphinx: > > > bin_path: "/ Users/julien/Downloads/sphinx-0.9.9-rc2" > > > but always the same message. > > > Otherwise, I wonder what should I wrinte in view in order to enable > > full text search > > > Thank you very much -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
