Hi Piotr
Generally when I've had this happen to me, there's a bug in the
relevant model - try using the model in script/console.
If there's no error from that, then there's a different problem and
we'll have to dig deeper.
Cheers
--
Pat
On 07/02/2009, at 5:51 PM, Piotr Sarnacki wrote:
>
> Hi,
>
> I've installed sphinx 0.9.9 and thinking sphinx plugin (branch
> sphinx-0.9.9) and added some really simple indexes to one of my
> models:
>
> define_index do
> indexes name
> end
>
> After running rake ts:config my config file looks like:
>
>
> indexer
> {
> }
>
> searchd
> {
> listen = 127.0.0.1:3312
> log = /home/drogus/projekty/project/log/searchd.log
> query_log = /home/drogus/projekty/project/log/searchd.query.log
> pid_file = /home/drogus/projekty/project/log/searchd.development.pid
> }
>
> No indexes there - it seems that ts doesn't see define_index part of
> my model. I use rails 2.2.2.
>
> Any thoughts?
>
> (my thoughts - it's probably some really stupid mistake made by me ;-)
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---