[ 
https://issues.apache.org/jira/browse/SOLR-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grant Ingersoll updated SOLR-2114:
----------------------------------

    Attachment: SOLR-2114.patch

Patch to fix the problem.  It reworks the parameter order slightly and makes 
the boolean convertToRadians flag required since the FunctionQParser does not 
have strong enough look ahead capabilities to be able to determine what type of 
argument the "next" argument is (boolean or valuesource).

Plan on committing now.

> hsin function doesn't properly parse when passing in multivalue sources and 
> flag for converting to radians
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-2114
>                 URL: https://issues.apache.org/jira/browse/SOLR-2114
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 3.1, 4.0
>            Reporter: Grant Ingersoll
>            Priority: Minor
>         Attachments: SOLR-2114.patch
>
>
> There is some incorrect logic when it comes to dealing with MultiValueSource 
> and conversion to radians.  See 
> http://localhost:8983/solr/core1/select?q=_val_:%22hsin%286371.009,%20geolocation,%20vector%28-37.82,%20145.287%29,%20true%29%22
>  (or a similar query)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to