adding example of local storage and elastic search indexing options