lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Risden (JIRA)" <>
Subject [jira] [Commented] (SOLR-11444) Improve and comma delimited collection list handling
Date Thu, 12 Oct 2017 12:23:00 GMT


Kevin Risden commented on SOLR-11444:

Changes for SQL sounds reasonable to me. I think streaming expressions support aliases now.
When it was originally implemented not sure that was the case.

> Improve and comma delimited collection list handling
> -----------------------------------------------------------------
>                 Key: SOLR-11444
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: SolrCloud
>            Reporter: David Smiley
>            Assignee: David Smiley
>         Attachments: SOLR_11444_Aliases.patch, SOLR_11444_Aliases.patch
> While starting to look at SOLR-11299 I noticed some brittleness in assumptions about
Strings that refer to a collection.  Sometimes they are in fact references to comma separated
lists, which appears was added with the introduction of collection aliases (an alias can refer
to a comma delimited list).  So Java's type system kind of goes out the window when we do
this.  In one case this leads to a bug -- CloudSolrClient will throw an NPE if you try to
write to such an alias.  Sending an update via HTTP will allow it and send it to the first
in the list.
> So this issue is about refactoring and some little improvements pertaining to
plus certain key spots that deal with collection references.  I don't think I want to go as
far as changing the public SolrJ API except to adding documentation on what's possible.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message