lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jitendra saklani (Created) (JIRA)" <>
Subject [jira] [Created] (SOLR-2969) Query inside the sort
Date Wed, 14 Dec 2011 13:23:30 GMT
Query inside the sort

                 Key: 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,

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message