lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Bell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2371) Add a min() function query, upgrade max() function query to take two value sources
Date Wed, 25 May 2011 08:05:47 GMT

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

Bill Bell commented on SOLR-2371:
---------------------------------

I cannot get min() and max(0 to work on 3.2 branch.

http://localhost:8983/solr/select?q={!func}min%28geodist%28store%29,geodist%28store1%29%29%20asc&fl=*,score&pt=37.0752,-99.032&d=1&fq=_query_:%22{!geofilt%20sfield=store2}%22%20_query_:%22{!geofilt%20sfield=store}%22%20_query_:%22{!geofilt%20sfield=store1}%22&fq=id:BILL1

Problem accessing /solr/select. Reason:

    org.apache.lucene.queryParser.ParseException: Unknown function min in FunctionQuery('min(geodist(store),geodist(store1))
asc', pos=4)



> 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


Mime
View raw message