I know, I know incrementing integers are the way God and Jesus want
it, but sometimes life it just not that straightforward.  I monkey
patched a much new version of TS to take a different primary key for
sphinx index id and it seem to work.  I wonder if anyone wants, needs,
or would like to actually finish this up for me.  If not it will
probably die with me as I'm the founder of a new startup, working 16
hour days and am not really that interested in making this some kind
of 'thing' i do.

It allows you to do this:
set_sphinx_primary_key "sphinx_id"
and still do set_primary_key "blahbalh" for rails.  I have some data
that I need to get from various spots.  I need it consistent and I
don't trust them so MD5 hashes for keys it is.  This obviously made
sphinx puke.

I am not sure my monkey patch is actually complete but it does work
for a few of my models that have rather simple indexes.  I think I
still need to patch the associations part, but I will get to that when
I need it.

Anyway, just wanted to see if anyone is interested.  I was inspired by
this post:
http://blog.semanticart.com/comparing_thinking_sphinx_and_acts_as_ferret_for_full-text_indexing_in_rails

Erik
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To post to this group, send email to thinking-sphinx@googlegroups.com
To unsubscribe from this group, send email to 
thinking-sphinx+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to