Re: [elephant-devel] How do I populate an index of a slot that wascreated later with values created before slot became indexed?

2011-05-09 Thread Ian Eslick
Alex, This may be overkill, but the metaclass system and related support code would probably benefit from a clean, rethought architecture and possible rewrite of the indexing + schemas + database evolution code. Features were added incrementally over the years in response to specific needs and

Re: [elephant-devel] How do I populate an index of a slot that wascreated later with values created before slot became indexed?

2011-05-09 Thread Alex Mizrahi
> I would recommend a complete code review of the schema implementation as a > good first step; > that's one area that often causes problems when making changes to different > slot types. Yep, I've just noticed this: I've started investigating why derived indices just stop working from time to

[elephant-devel] topo sort?

2011-05-09 Thread Alex Mizrahi
hi I was inspecting code of rebuild-slot-indices and it looks like it has a problem with inherited indices (although it is not easy to reproduce it). rebuild-slot-index drops index first. With inherited indices it tries to drop an index but fails (because it looks for index for this class rath