Query inside the sort --------------------- Key: SOLR-2969 URL: https://issues.apache.org/jira/browse/SOLR-2969 Project: Solr Issue Type: Task Components: clients - php Affects Versions: 4.0 Environment: LAMP Reporter: jitendra saklani Fix For: 4.0
Hi All, 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. Thanks you, Jitu -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org