I need a help in solr search. I wanted to use sorting in my application with a complex conditions.
Please see below line for sorting:
sort=sum(geodist(geocode,42.358162,-71.054065),membership_level_no, query(if(zipcode==94123) and status ==1)1 else 0 asc
right now in sum() function first two arguments are fine I want to add a query which will work something like I wrote above.
Please anyone can give me idea to achieve this.