You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Yonik Seeley (JIRA)" <ji...@apache.org> on 2010/11/26 16:39:15 UTC

[jira] Commented: (SOLR-2254) geodist() sort does not work if sfield parameter is enclosed in LocalParams

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

Yonik Seeley commented on SOLR-2254:
------------------------------------

This isn't really specific to geosearch.
local params are local (they aren't going to be shared across query parsers).

The geodist function can take it's own arguments instead of relying on the global ones (i.e. geodist(10,20,sfield))
I'll try and clarify in the docs.

> geodist() sort does not work if sfield parameter is enclosed in LocalParams
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-2254
>                 URL: https://issues.apache.org/jira/browse/SOLR-2254
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.0
>            Reporter: Julien Lirochon
>            Priority: Minor
>
> taking the example from the page : http://wiki.apache.org/solr/SpatialSearch
> 1) ...&q=*:*&fq={!geofilt sfield=store}&pt=45.15,-93.85&d=5
> 2) ...&q=*:*&fq={!geofilt}&sfield=store&pt=45.15,-93.85&d=5
> if you choose the 1st syntax, you can't sort by geodist()
> Although it might not be a bug, this behavior is not documented.

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