Element name to code conversion for solr queries

Advance search for Solr is not working because the search queries are not compliant with the Solr schema.
A search query contains attribute/element name, whereas in new CA design a solr query should contain element codes. This fix replaces element names with corresponding element codes. 

An example:
'ca_objects.objectStyleType:332'     should be like  'ca_objects.A162:332'