[Grok-dev] Migrating catalog indexes
Kevin Teague
kevin at bud.ca
Thu Nov 26 17:11:31 EST 2009
If you've got an Indexes, such as:
class MyIndexes(grok.Indexes):
grok.site(MyApp)
grok.context(gsc.haystack.interfaces.IContent)
created = grok.index.Field()
And it gets grokked, then a catalog and a field index will be created.
But then if you add a second field index:
class MyIndexes(grok.Indexes):
grok.site(MyApp)
grok.context(gsc.haystack.interfaces.IContent)
created = grok.index.Field()
modified = grok.index.Field()
This index doesn't get created. Soooo ... what's the best way to
migrate a catalog when the indexes are updated after the initial
creation. Anyone got any tips here?
More information about the Grok-dev
mailing list