You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2011/05/20 08:03:47 UTC

[jira] [Issue Comment Edited] (SOLR-2371) Add a min() function query, upgrade max() function query to take two value sources

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

Bill Bell edited comment on SOLR-2371 at 5/20/11 6:02 AM:
----------------------------------------------------------

Can we add a alpha sort min and max for non-numerical multiValued fields?

The use case is sort by As before Bs in the field.

If I have the following in he field:
aa
zzzz

I add sort=min(field) asc

I should get sort by the "aa" field

Thanks







      was (Author: billnbell):
    Can we add a alpha sort min and max for non-numerical multiValued fields?

The use case is sort by As before Bs in the field.

I do a fq=field:a* then I add sort=min(field) asc

Thanks






  
> Add a min() function query, upgrade max() function query to take two value sources
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-2371
>                 URL: https://issues.apache.org/jira/browse/SOLR-2371
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Grant Ingersoll
>            Priority: Trivial
>             Fix For: 4.0
>
>         Attachments: SOLR-2371.patch
>
>
> There doesn't appear to be a min() function.  Also, max() only allows a value source and a constant b/c it is from before we had more flexible parsing.

--
This message is automatically generated by JIRA.
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