You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2010/09/09 00:29:33 UTC

[jira] Updated: (SOLR-2114) hsin function doesn't properly parse when passing in multivalue sources and flag for converting to radians

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