I have Thinking Sphinx running perfectly for one model but when I
tried to add a new model to search I started running into problems.
The index for the second model is completely blank.  Here is some of
the output from indexing and running rake ts:start

rake ts:index

....
indexing index 'tag_core'...
collected 343 docs, 0.0 MB
collected 0 attr values
sorted 0.0 Mvalues, nan% done
total 343 docs, 0 bytes
total 0.014 sec, 0.00 bytes/sec, 24765.34 docs/sec
distributed index 'tag' can not be directly indexed; skipping.

rake ts:start

.....
WARNING: index 'tag_core': preload: failed to load /Users/user/site/db/
sphinx/development/tag_core.spa: bad size 0 (at least 56 bytes
expected); NOT SERVING
WARNING: index 'tag': no such local index 'tag_core' - SKIPPING LOCAL
INDEX
WARNING: index 'tag': no valid local/remote indexes in distributed
index - NOT SERVING

model:

  define_index do
    indexes :tag_group, :tag_name, :sub_tag
    facet tag_group, tag_name, sub_tag
  end


Any ideas on what is wrong or how to fix it?  The data is populated
from a form.  IDs are sequential but there are  a lot of IDs missing
from deleted records. When you look at something like tag_core.spa it
is completely blank.  The other model still works fine.  This new
model doesn't work whether the first model is there or not.


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