You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2019/10/07 01:22:00 UTC

[jira] [Closed] (SOLR-280) slightly more efficient SolrDocument implementation

     [ https://issues.apache.org/jira/browse/SOLR-280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch closed SOLR-280.
--------------------------------------

Long resolved. Marking closed for completeness.

> slightly more efficient SolrDocument implementation
> ---------------------------------------------------
>
>                 Key: SOLR-280
>                 URL: https://issues.apache.org/jira/browse/SOLR-280
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>         Attachments: SOLR-280-SolrDocument2-API-Compatibility.patch, SOLR-280-SolrDocument2.patch, SOLR-280-SolrDocument2.patch
>
>
> Following discussion in SOLR-272
> This implementation stores fields as a Map<String,Object> rather then a Map<String,Collection<Object>>.  The API changes slightly in that:
>  getFieldValue( name ) returns a Collection if there are more then one fields and a Object if there is only one.
> getFirstValue( name ) returns a single value for the field.  This is intended to make things easier for client applications.



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

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