This PR addresses an issue where fields are not being correctly translated into their Solr equivalent names.
Note the log entries below.
"publish_date" should be "publish_date_tdt"
"topic" should be "topic_sm"
"tag" should be "tag_sm"
"content_type.targetid_s" should be "content_type_s"
24324 22:47:20 INFO Solr Query - ?q=(((_language:(en) AND _latestversion:(True)) AND _templatesimplemented_sm:(8894f95e838049379c1b7442a6944115)) AND ((-publish_date.hasvalue_b:(True) *:*) OR publish_date.value_tdt:{2018-03-18T04:00:00Z TO *]))&rows=3&fl=*,score&fq=((topic:(61318689b2684e998afd8cc913f2fa04) OR tag:(f25e091ed9d14f3588deb79194acead4)) AND content_type.targetid_s:(00000000000000000000000000000000))&fq=_indexname:(sitecore_web_index)&wt=xml&sort=publish_date desc
24324 22:47:26 ERROR Solr Error : ["sort param field can't be found: publish_date"] - Query attempted: [(((_language:(en) AND _latestversion:(True)) AND _templatesimplemented_sm:(8894f95e838049379c1b7442a6944115)) AND ((-publish_date.hasvalue_b:(True) *:*) OR publish_date.value_tdt:{2018-03-18T04:00:00Z TO *]))]
This PR addresses an issue where fields are not being correctly translated into their Solr equivalent names.
Note the log entries below.