lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-2254) geodist() sort does not work if sfield parameter is enclosed in LocalParams
Date Fri, 26 Nov 2010 15:39:15 GMT

    [ 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


Mime
View raw message