Katello/katello — pull request #2810 by jlsherrill (2013-08-26 15:39:56+00:00)
Title: fixing product Elastic Search indexing

few mistakes:
* Product was excluding :id as an indexed attribute
* MarketingProduct was using the same index as Product
These are very different entities, so lets store
them apart
* rake reindex would import all Products (even Marketing product)
as a product, So treat subclasses separately
* As a result of treating subclasses separately, TaskStatus, and System
subclasses need to be indexed as well
* During investigation of task status, found issue with the 'result'
field causing indexing to fail due to vastly different values
(sometimes a bool, sometimes a hash), so dont index 'result'