[
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: [email protected]
For additional commands, e-mail: [email protected]