anyone? 2008/10/20 oliver barnes <[EMAIL PROTECTED]>: > > Hello, > > I'm new to TS, and am having a problem running my first index. I have > the following index definition on a Decision model: > > define_index do > indexes process_number, :sortable => true > indexes summary > indexes report > indexes observation > indexes doctrine > end > > there are 5 records on my table, and sql indexes for each of the > fields above, as per recommendations I found here in the list. > > when I run the index rake task, I get 5 docs with 0 bytes in them. and > of course, when I try starting up TS, it fails saying there's nothing > to serve. > > $rake thinking_sphinx:index > ... > Generating Configuration to config/development.sphinx.conf > indexer --config config/development.sphinx.conf --all > Sphinx 0.9.8-release (r1371) > Copyright (c) 2001-2008, Andrew Aksyonoff > > using config file 'config/development.sphinx.conf'... > indexing index 'decision_core'... > collected 5 docs, 0.0 MB > collected 0 attr values > sorted 0.0 Mvalues, nan% done > total 5 docs, 0 bytes > total 0.010 sec, 0.00 bytes/sec, 500.00 docs/sec > distributed index 'decision' can not be directly indexed; skipping. > > what am I doing wrong? > > One note I should add is that I added the mysql indexes after the data > was first loaded. I then dropped the db, migrated with the new > indexes, and then repopulated the table using fixtures. seems to me > this shouldn't make a difference, but who knows... > > thanks in advance for any help, I've been stuck with this for a couple > of days, and haven't found a solution anywhere yet. > > - Oliver > > > > >
-- Oliver Azevedo Barnes [EMAIL PROTECTED] +55 11 9768 0193 http://www.linkedin.com/in/oliverbarnes http://workingwithrails.com/person/4704-oliver-barnes --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
