[ https://issues.apache.org/jira/browse/SOLR-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Erick Erickson resolved SOLR-2969. ---------------------------------- Resolution: Not A Problem This is a question about forming queries, not a bug. We can re-open it later if necessary. > 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 > Labels: sorting > Fix For: 4.0 > > Original Estimate: 1h > Remaining Estimate: 1h > > 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