You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (JIRA)" <ji...@apache.org> on 2010/08/23 12:57:15 UTC

[jira] Created: (LUCENE-2613) spatial random test failure (TestCartesian)

spatial random test failure (TestCartesian)
-------------------------------------------

                 Key: LUCENE-2613
                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
             Project: Lucene - Java
          Issue Type: Bug
          Components: contrib/spatial
    Affects Versions: 4.0
            Reporter: Robert Muir


{noformat}
java.lang.IllegalArgumentException: null iterator
	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
{noformat}

plug in seed of -6954859807298077232L to newRandom to reproduce.
didnt test to see if it affected 3x also.


-- 
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


[jira] Issue Comment Edited: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Lee Cooper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912736#action_12912736 ] 

Lee Cooper edited comment on LUCENE-2613 at 9/20/10 5:55 PM:
-------------------------------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

description.
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)

      was (Author: leetcooper):
    This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)
  
> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Issue Comment Edited: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Lee Cooper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912736#action_12912736 ] 

Lee Cooper edited comment on LUCENE-2613 at 9/20/10 5:57 PM:
-------------------------------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)

      was (Author: leetcooper):
    This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

*strong*
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)*strong*
  
> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Updated: (LUCENE-2613) spatial random test failure (TestCartesian)

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

Robert Muir updated LUCENE-2613:
--------------------------------

    Attachment: LUCENE-2613.patch

here's a workaround, looks like the incorrect CustomScoreQuery stuff is already noted in the test.

it would be better to fix this than to always test against an optimized index though.

> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Commented: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Uwe Schindler (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901367#action_12901367 ] 

Uwe Schindler commented on LUCENE-2613:
---------------------------------------

I wanted to fix this broken test long time ago when i found the API problem and added CustomScoreProvider! Thank your for opening this issue. Otimizing should fix it for now :-)

> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Commented: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901359#action_12901359 ] 

Robert Muir commented on LUCENE-2613:
-------------------------------------

i committed this workaround to trunk (988087) and 3x (988092).

I'll leave the issue open, we should really probably fix this test.


> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Issue Comment Edited: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Lee Cooper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912736#action_12912736 ] 

Lee Cooper edited comment on LUCENE-2613 at 9/20/10 5:57 PM:
-------------------------------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

*strong*
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)*strong*

      was (Author: leetcooper):
    This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

*
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)*
  
> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Commented: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901370#action_12901370 ] 

Robert Muir commented on LUCENE-2613:
-------------------------------------

yeah, the optimize works for now, but i hate it because really we should try to avoid this in our tests, now that IW settings are randomized. by doing this we reduce test coverage.


> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Commented: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Lee Cooper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912736#action_12912736 ] 

Lee Cooper commented on LUCENE-2613:
------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)

> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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


[jira] Issue Comment Edited: (LUCENE-2613) spatial random test failure (TestCartesian)

Posted by "Lee Cooper (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/LUCENE-2613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12912736#action_12912736 ] 

Lee Cooper edited comment on LUCENE-2613 at 9/20/10 5:56 PM:
-------------------------------------------------------------

This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

*
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)*

      was (Author: leetcooper):
    This is the only reference similar to a problem I am experiencing.  I am using Lucene 2.9.2 and I am getting the below exception when using a GeoHashDistanceFilter filter

It is working most of the time but under certain conditions and sometimes intermittently Lucene throws this exception.  

Can someone tell me why the exception might be thrown and is there anything I can do to stop it happening?

I see that this is still open will the resolution of this problem solve my problem?

description.
java.lang.IllegalArgumentException: null iterator
        at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
        at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
        at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:71)
        at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:279)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:254)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:173)
        at org.apache.lucene.search.Searcher.search(Searcher.java:181)
  
> spatial random test failure (TestCartesian)
> -------------------------------------------
>
>                 Key: LUCENE-2613
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2613
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/spatial
>    Affects Versions: 4.0
>            Reporter: Robert Muir
>         Attachments: LUCENE-2613.patch
>
>
> {noformat}
> java.lang.IllegalArgumentException: null iterator
> 	at org.apache.lucene.search.FilteredDocIdSetIterator.<init>(FilteredDocIdSetIterator.java:38)
> 	at org.apache.lucene.search.FilteredDocIdSet$1.<init>(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.FilteredDocIdSet.iterator(FilteredDocIdSet.java:72)
> 	at org.apache.lucene.search.IndexSearcher.searchWithFilter(IndexSearcher.java:241)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:216)
> 	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:168)
> 	at org.apache.lucene.spatial.tier.TestCartesian.testGeoHashRange(TestCartesian.java:542)
> {noformat}
> plug in seed of -6954859807298077232L to newRandom to reproduce.
> didnt test to see if it affected 3x also.

-- 
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