How can I sort solr result bases on dynamic fields
Thanks for giving your time. I need to sort result on the basis of dynamic field. How can I do that ? when I am sorting on minimum value of some of those dynamic attribute. It's not giving correct result because my query is like &sort=min(A_160018,A_chandigarh1) Some of document having both field A_160018 and A_chandigarh1 while some document having no field and some having one either A_160018 or A_chandigarh1 for some result doc . could you help me , How can I sort for this type of dynamic field. If you do not know if the field exist, you can set a default value in case it does not exists.