Added shutdown hook for Indexer to cleanly commit and close indices.
Authored by: girish_c1980 2011-03-02
Parent: [r31]
Child: [r33]