[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread Shalin Shekhar Mangar (JIRA)

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

Shalin Shekhar Mangar commented on SOLR-5502:
-

bq. Let's move the CHANGES entry to other and change it to adding a test for 
this.

Done. Thanks!

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.7
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547835 from sha...@apache.org in branch 'dev/trunk'
[ https://svn.apache.org/r1547835 ]

SOLR-5502: Moving change log entry to the other section because this bug hasn't 
been released yet

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.7
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547836 from sha...@apache.org in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1547836 ]

SOLR-5502: Moving change log entry to the other section because this bug hasn't 
been released yet

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.7
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread Mark Miller (JIRA)

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

Mark Miller commented on SOLR-5502:
---

Let's move the CHANGES entry to other and change it to adding a test for this.

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.7
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread Shalin Shekhar Mangar (JIRA)

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

Shalin Shekhar Mangar commented on SOLR-5502:
-

I'll fix the change log.

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.7
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread Anshum Gupta (JIRA)

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

Anshum Gupta commented on SOLR-5502:


Thanks for pointing that out Yonik. I just realized that this was introduced 
post 4.6 (with the multi-level changes).


> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-04 Thread Yonik Seeley (JIRA)

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

Yonik Seeley commented on SOLR-5502:


This is marked as a bug in 4.6, but I can't seem to replicate it.  Are you sure 
this bug wasn't just introduced by changes to the composite router after 4.6 
was released?

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-03 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547525 from [~markrmil...@gmail.com] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1547525 ]

SOLR-5502: Fix inadvertently removed changes entry

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-03 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547522 from [~markrmil...@gmail.com] in branch 'dev/trunk'
[ https://svn.apache.org/r1547522 ]

SOLR-5502: Fix inadvertently removed changes entry

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-03 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547461 from [~markrmil...@gmail.com] in branch 'dev/branches/branch_4x'
[ https://svn.apache.org/r1547461 ]

SOLR-5502: A "/" in a document id will cause an exception to be thrown when 
using the composite id router.

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-03 Thread ASF subversion and git services (JIRA)

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

ASF subversion and git services commented on SOLR-5502:
---

Commit 1547452 from [~markrmil...@gmail.com] in branch 'dev/trunk'
[ https://svn.apache.org/r1547452 ]

SOLR-5502: A "/" in a document id will cause an exception to be thrown when 
using the composite id router.

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-12-03 Thread Mark Miller (JIRA)

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

Mark Miller commented on SOLR-5502:
---

Hey Anshum, I'm seeing the following fail after applying the patch:

{noformat}
   [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=ShardRoutingTest 
-Dtests.method=testDistribSearch -Dtests.seed=3B53611D9EEA5A03 
-Dtests.slow=true -Dtests.locale=sq -Dtests.timezone=AET 
-Dtests.file.encoding=UTF-8
   [junit4] ERROR   37.2s J1 | ShardRoutingTest.testDistribSearch <<<
   [junit4]> Throwable #1: 
org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: 2
   [junit4]>at 
__randomizedtesting.SeedInfo.seed([3B53611D9EEA5A03:BAB5EF05E9B53A3F]:0)
   [junit4]>at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:491)
   [junit4]>at 
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:197)
   [junit4]>at 
org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
   [junit4]>at 
org.apache.solr.cloud.AbstractFullDistribZkTestBase.indexDoc(AbstractFullDistribZkTestBase.java:620)
   [junit4]>at 
org.apache.solr.BaseDistributedSearchTestCase.index(BaseDistributedSearchTestCase.java:425)
   [junit4]>at 
org.apache.solr.cloud.ShardRoutingTest.doAddDoc(ShardRoutingTest.java:308)
   [junit4]>at 
org.apache.solr.cloud.ShardRoutingTest.doHashingTest(ShardRoutingTest.java:152)
   [junit4]>at 
org.apache.solr.cloud.ShardRoutingTest.doTest(ShardRoutingTest.java:123)
   [junit4]>at 
org.apache.solr.BaseDistributedSearchTestCase.testDistribSearch(BaseDistributedSearchTestCase.java:843)
   [junit4]>at java.lang.Thread.run(Thread.java:724)
{noformat}

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
>Assignee: Mark Miller
> Fix For: 5.0, 4.7
>
> Attachments: SOLR-5502.patch, SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-11-30 Thread Anshum Gupta (JIRA)

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

Anshum Gupta commented on SOLR-5502:


I have one, but I've been without a proper internet connection right now.
Will upload one tomorrow.

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
> Attachments: SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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



[jira] [Commented] (SOLR-5502) A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using the composite id router

2013-11-29 Thread Mark Miller (JIRA)

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

Mark Miller commented on SOLR-5502:
---

Thanks! Got a test as well?

> A "/" in the ID itself throws an ArrayIndexOutOfBoundsException when using 
> the composite id router
> --
>
> Key: SOLR-5502
> URL: https://issues.apache.org/jira/browse/SOLR-5502
> Project: Solr
>  Issue Type: Bug
>  Components: SolrCloud
>Affects Versions: 4.6
>Reporter: Anshum Gupta
> Attachments: SOLR-5502.patch
>
>
> While using the composite-id router, if the routing-id contains a "/" in the 
> id part, the code throws an ArrayIndexOutOfBoundsException.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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