hunt-framework / hunt

A flexible, lightweight search platform
59 stars 10 forks source link

Interpreter: Binary de-serialization: Move Schema and normalizer reloading to ContextIndex get functions #91

Open chrisreu opened 10 years ago

chrisreu commented 10 years ago

When ContextSchema gets deserialized, there is some state-dependend data missing: The ContextType implementation and the normalizer implemetation.

Right now the Interpreter is responsible to reload those implementations after deserializing. This should happen in the Get functions of ContextSchema, just like we do it for IndexImpl.