lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vaibhav Patel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-11248) Spatial query returning everything for pt(0,0) d=0
Date Wed, 16 Aug 2017 21:47:00 GMT

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

Vaibhav Patel commented on SOLR-11248:
--------------------------------------

Actually that was happening because all of my long, lat was null


Found this:
Using distance projection on non @Spatial enabled entities and/or with a non spatial Query
will have unexpected results as entities not spatially indexed and/or having null values for
latitude or longitude will be considered to be at (0,0)/(lat,0)/(0,long).

> Spatial query returning everything for pt(0,0) d=0
> --------------------------------------------------
>
>                 Key: SOLR-11248
>                 URL: https://issues.apache.org/jira/browse/SOLR-11248
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrJ
>         Environment: solr-spec
> 6.6.0
> solr-impl
> 6.6.0 5c7a7b65d2aa7ce5ec96458315c661a18b320241 - ishan - 2017-05-30 07:32:53
> lucene-spec
> 6.6.0
> lucene-impl
> 6.6.0 5c7a7b65d2aa7ce5ec96458315c661a18b320241 - ishan - 2017-05-30 07:29:46
>            Reporter: Vaibhav Patel
>            Priority: Blocker
>
> There is an edge case when I specify pt=0,0 and d=0, it seems to return everything.It
looks like this(http://localhost:8983/solr/person_core_420_us/select?d=0&fq={!geofilt}&indent=on&pt=0,0&q=*:*&sfield=home_location&wt=json)
> Other distance queries work fine. Can some one confirm this please?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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


Mime
View raw message