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/08 23:10:32 UTC

[jira] Commented: (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:comment-tabpanel&focusedCommentId=12907430#action_12907430 ] 

Grant Ingersoll commented on SOLR-2114:
---------------------------------------

The exception one gets for the above query is something like:
{quote}
Caused by: org.apache.solr.common.SolrException: undefined field true
	at org.apache.solr.schema.IndexSchema.getField(IndexSchema.java:1178)
	at org.apache.solr.search.FunctionQParser.parseValueSource(FunctionQParser.java:252)
	at org.apache.solr.search.FunctionQParser.parseValueSource(FunctionQParser.java:173)
	at org.apache.solr.search.ValueSourceParser$19.parse(ValueSourceParser.java:254)
	at org.apache.solr.search.FunctionQParser.parseValueSource(FunctionQParser.java:248)
	at org.apache.solr.search.FunctionQParser.parseValueSource(FunctionQParser.java:173)
	at org.apache.solr.search.FunctionQParser.parse(FunctionQParser.java:40)
	at org.apache.solr.search.QParser.getQuery(QParser.java:137)
	at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:86)
	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:189)
	at org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)
{quote}

> 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
>
> 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