Added elastic-search functionality to Product model. #6403

Added test for search.