[ 
https://issues.apache.org/jira/browse/LUCENE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

patrick o'leary updated LUCENE-1568:
------------------------------------

    Attachment: LUCENE-1568.patch

Fixes an NPE when using DistanceQueryBuilder for just minimal bounding box 
searches
e.g.
{code}
final DistanceQueryBuilder dq = new DistanceQueryBuilder(
                                                         latitude, longitude,
                                                         radius,
                                                         latField, //name of 
latitude field in index
                                                         lngField, //name of 
longitude field in index
                                                         tierPrefix, // prefix 
of tier fields in index
                                                         false  /*filter by 
radius, false means mbb search */     );
{code}

> Fix for NPE's in Spatial Lucene for searching bounding box only
> ---------------------------------------------------------------
>
>                 Key: LUCENE-1568
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1568
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>            Reporter: patrick o'leary
>            Assignee: patrick o'leary
>            Priority: Minor
>         Attachments: LUCENE-1568.patch
>
>
> NPE occurs when using DistanceQueryBuilder for minimal bounding box search 
> without the distance filter.

-- 
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: java-dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to