Hi Dan (and everyone else) You're right about class facets not working in apps, but working within tests. I figured out the cause, and the latest update to GitHub now fixes that problem. :)
Cheers -- Pat On 27/04/2009, at 6:35 AM, Dan Pickett wrote: > Hey Pat, > > I've been playing around with the latest version of TS (trying to > port a few apps off of my branch) and I'm having trouble with the > class facet refactoring that was done - for some reason my models do > not inject the class_crc facet > > I tried to trace it down but everything in the TS test suite looks > sane - could the class crc internal facet be lost when running > outside of the test suite? > > To eliminate variables, I'm using delta indexing and a where clause > in my index definitions. > > <ModelName>.sphinx_facets yields a hash but the hash does not > include class_crc - my thoughts are that the test suite persists the > facet from the add_internal_facet, but if you have something that > indexes and queries seperately > > > -- > ========================= > Dan Pickett > Principal > Enlight Solutions, Inc > http://EnlightSolutions.com > > http://www.twitter.com/dpickett > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
