[jira] [Commented] (SOLR-13312) write out responses without creating SolrDocument objects

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (SOLR-13312) write out responses without creating SolrDocument objects

Michael Gibney (Jira)

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

Noble Paul commented on SOLR-13312:
-----------------------------------

[~dsmiley] SolrDocument is an expensive data structure. Yes, we may need a more efficient data structure to actually accomplish this. HashMaps are extremely memory inefficient.
Skipping transformation is something we can't do now without backward incompatibility. We can probably rewrite Transformers like ChildDocTransformer to adapt to the new format. We may need to create the SolrDocument objects where other transformers are used. But most requests never use any transformers. They are paying a huge price


> write out responses without creating SolrDocument objects
> ---------------------------------------------------------
>
>                 Key: SOLR-13312
>                 URL: https://issues.apache.org/jira/browse/SOLR-13312
>             Project: Solr
>          Issue Type: Sub-task
>      Security Level: Public(Default Security Level. Issues are Public)
>            Reporter: Noble Paul
>            Priority: Major
>
> Once we get a document from lucene there is no need to create a SolrDocument object to write out the response, if there are no transformers



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]