Hi John,

I've run into that issue, too. It's currently being discussed on the 
thinking-sphinx GoogleGroup

http://groups.google.com/group/thinking-sphinx/browse_thread/thread/4ce0b8ebd94cfcb9?fwc=1

Removing the define_index method basically means disabling the indexing part of 
the extension, since define_index tells thinking-sphinx what parts of your AR 
model should go into the sphinx configuration. Since you already had a working 
configuration and index, it may very well be that the rest of the search 
actually works.

Maybe you have a chance to head over to googlegroups and leave a quick "me too" 
to show your interest in that issue. Regards,

Christian

Am 06.01.2010 um 07:46 schrieb John Polling:

> Hi,
> 
> I've recently upgraded to the 1.3.14 gem version of Thinking Sphinx and I 
> know get this error when both running a search and running rake ts:index
> 
> You have a nil object when you didn't expect it!
> You might have expected an instance of Array.
> The error occurred while evaluating nil.<<
> 
> I've managed to pinpoint the problem to the define_index method in the 
> SphinxSearch PageExtensions module.  As soon as I remove this method all 
> works fine.  I'm not certain what the exact problem is in this method though. 
>  If anyone can quickly enlighten me it would be much appreciated.
> 
> Thanks
> 
> John
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to