lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "patrick o'leary (JIRA)" <j...@apache.org>
Subject [jira] Updated: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only
Date Fri, 20 Mar 2009 14:46:50 GMT

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


Mime
View raw message