Sample of datamapper with elasticsearch