Enabling elasticsearch indexing on table view