- changed default attr to text datatype
- added seperate field for facet