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

Erick Erickson commented on SOLR-12562:
---------------------------------------

[~dsmiley] Thanks for the feedback. For all the two methods look similar, they 
are _just_ enough different to need to be separate.

I'll give a whirl at removing the materialize all together. I like the idea of 
going through something common rather than the one-off in 
RealTimeGetComponent...

> Remove redundant RealTimeGetCompnent.toSolrDoc and use 
> DocStreamer.convertLuceneDocToSolrDoc
> --------------------------------------------------------------------------------------------
>
>                 Key: SOLR-12562
>                 URL: https://issues.apache.org/jira/browse/SOLR-12562
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>            Reporter: Erick Erickson
>            Assignee: Erick Erickson
>            Priority: Minor
>         Attachments: SOLR-12562.patch
>
>
> This code looks really redundant so we should remove one. The one in 
> RealTimeGet is the only used locally so my vote is to remove that one.



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

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

Reply via email to