add distincts plugin; rework trending and analytics
split field indexes based on field type