[ https://issues.apache.org/jira/browse/SOLR-11601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408160#comment-16408160 ]
Amrit Sarkar commented on SOLR-11601: ------------------------------------- [~dsmiley], thank you for your feedback, always. I see. Now I think I may have written number of tests using that flawed technique when {{assertQEx}} being available :), thank you for pointing that, will take care in future. Updated tests, please note: the error which still gets emitted is: {{"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)"}} and solr logs will point to the actual problem. > 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 > Security Level: Public(Default Security Level. Issues are Public) > 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 (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org