Metadata indexer for elasticsearch