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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to