You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2019/08/23 22:18:00 UTC

[jira] [Commented] (SOLR-11601) geodist fails for some fields when field is in parenthesis instead of sfield param

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

ASF subversion and git services commented on SOLR-11601:
--------------------------------------------------------

Commit f335ac9bbc52fef3468ca69890bf9ba95053f8b5 in lucene-solr's branch refs/heads/master from David Smiley
[ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=f335ac9 ]

SOLR-11601: Improve geodist error message when using with LLPSF.


> geodist fails for some fields when field is in parenthesis instead of sfield param
> ----------------------------------------------------------------------------------
>
>                 Key: SOLR-11601
>                 URL: https://issues.apache.org/jira/browse/SOLR-11601
>             Project: Solr
>          Issue Type: Improvement
>          Components: spatial
>    Affects Versions: 6.6
>            Reporter: Clemens Wyss
>            Assignee: David Smiley
>            Priority: Minor
>         Attachments: SOLR-11601.patch, SOLR-11601.patch, SOLR-11601.patch
>
>
> Im switching my schemas from derprecated solr.LatLonType to solr.LatLonPointSpatialField.
> Now my sortquery (which used to work with solr.LatLonType):
> *sort=geodist(b4_location__geo_si,47.36667,8.55) asc*
> raises the error
> {color:red}*"sort param could not be parsed as a query, and is not a field that exists in the index: geodist(b4_location__geo_si,47.36667,8.55)"*{color}
> Invoking sort using syntax 
> {color:#14892c}sfield=b4_location__geo_si&pt=47.36667,8.55&sort=geodist() asc
> works as expected though...{color}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

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