You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "Mike Drob (Jira)" <ji...@apache.org> on 2021/07/12 16:46:00 UTC

[jira] [Created] (SOLR-15532) SolrInputField sometimes stores collections and sometimes stores values

Mike Drob created SOLR-15532:
--------------------------------

             Summary: SolrInputField sometimes stores collections and sometimes stores values
                 Key: SOLR-15532
                 URL: https://issues.apache.org/jira/browse/SOLR-15532
             Project: Solr
          Issue Type: Improvement
            Reporter: Mike Drob


SolrInputField tries to be clever by sometimes storing the value directly, and other times storing a collection of the values. We might be able to simplify a lot of the code paths if we know that we always have a collection, even if it's a singleton. The usage right now feels very brittle and easy for callers to mess us, I wouldn't be surprised to discover that somebody made the wrong assumptions when calling this class somewhere in our code base.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org