You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "patrick o'leary (JIRA)" <ji...@apache.org> on 2009/03/20 15:40:50 UTC

[jira] Created: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

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


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


[jira] Updated: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-1568:
---------------------------------------

    Fix Version/s: 2.9

> 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
>             Fix For: 2.9
>
>         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


[jira] Commented: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12683951#action_12683951 ] 

patrick o'leary commented on LUCENE-1568:
-----------------------------------------

If nobody objects I'll commit this later today

> 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
>             Fix For: 2.9
>
>         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


[jira] Updated: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ 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


[jira] Closed: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

patrick o'leary closed LUCENE-1568.
-----------------------------------


resolved

> 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
>             Fix For: 2.9
>
>         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


[jira] Resolved: (LUCENE-1568) Fix for NPE's in Spatial Lucene for searching bounding box only

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1568?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

patrick o'leary resolved LUCENE-1568.
-------------------------------------

    Resolution: Fixed

committed

> 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
>             Fix For: 2.9
>
>         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