Hi, first post here.

The rake files don't seem to be indexing. I've searched around but
can't figure anything out.

Here's what I've got so far:

I've installed Sphinx on OS X, with a flag pointing it to the mysql
installation.
Then I installed thinking_sphinx via git as per the instructions on
http://ts.freelancing-gods.com/usage.html. I'm on Rails 2.3.2 so I
used the script/plugin install method.

I wrote my define_index on my model as such:

  define_index do
    indexes title
    indexes description

    has created_at
    has active

  end

Then ran the rakes (I ran them with sudo and without):

$ sudo rake thinking_sphinx:index
(in /Users/galen/Sites/sa)
Generating Configuration to /Users/galen/Sites/sa/config/
development.sphinx.conf
indexer --config /Users/galen/Sites/sa/config/development.sphinx.conf
--all

$ sudo rake thinking_sphinx:start
(in /Users/galen/Sites/sa)
searchd --pidfile --config /Users/galen/Sites/sa/config/
development.sphinx.conf
Failed to start searchd daemon. Check /Users/galen/Sites/sa/log/
searchd.log.

The log file is empty, as is db/sphinx/development.

I went through my config file, and as far as I can tell, everything is
set correctly. I'll attach it if you think it's especially relevant.

One maybe important thing: my database is super small. 8 test records,
as I'm just developing right now. Could that bother sphinx? Does it
need millions of records?

Any ideas?

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to