You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erick Erickson (Commented) (JIRA)" <ji...@apache.org> on 2011/12/14 14:29:32 UTC

[jira] [Commented] (SOLR-2969) Query inside the sort

    [ https://issues.apache.org/jira/browse/SOLR-2969?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169336#comment-13169336 ] 

Erick Erickson commented on SOLR-2969:
--------------------------------------

Please raise this issue on the user's list. The JIRAs are for bugs, and this doesn't appear to be a bug. See:
http://lucene.apache.org/solr/mailing_lists.html and click on the "subscribe to list" link under "Users".

                
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org