You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Joel Bernstein (JIRA)" <ji...@apache.org> on 2016/10/31 20:33:59 UTC

[jira] [Commented] (SOLR-9077) Streaming expressions should support collection alias

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

Joel Bernstein commented on SOLR-9077:
--------------------------------------

Looks good from a quick review, but it's a pretty big patch. It will take a little time to take the whole thing in. If you're feeling comfortable with feel free to commit, I'm sure this code will get exercised plenty before the 6.4 release.

> Streaming expressions should support collection alias
> -----------------------------------------------------
>
>                 Key: SOLR-9077
>                 URL: https://issues.apache.org/jira/browse/SOLR-9077
>             Project: Solr
>          Issue Type: Bug
>          Components: SolrCloud
>    Affects Versions: 5.5.1
>            Reporter: Suds
>            Priority: Minor
>         Attachments: SOLR-9077.patch, SOLR-9077.patch, SOLR-9077.patch, SOLR-9077.patch
>
>
> Streaming expression in solr does not support collection alias
> when I tried to access collection alias I get null pointer exception 
> issue seems to be related to following code , clusterState.getActiveSlices returns null 
>  Collection<Slice> slices = clusterState.getActiveSlices(this.collection);
>  for(Slice slice : slices) {
> }
> fix seems to fairly simple , clusterState.getActiveSlices can be made aware of collection alias. I am not sure what will happen when we have large alias which has hundred of slices.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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