You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/02/20 01:47:00 UTC

[jira] [Assigned] (SOLR-13034) RealTimeGetComponent#toSolrInputDocument should materialize LazyFields

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

David Smiley reassigned SOLR-13034:
-----------------------------------

       Assignee: David Smiley  (was: mosh)
    Description: 
Edited for toSolrInputDocument instead of toSolrDoc...
----
As I was working on SOLR-12638, I noticed RealTimgeGetComponent#toSolrDoc does not resolve lazy fields. 
 This behavior is cause by the use of transformers which use SolrDocumentFetcher, which caused exceptions to be thrown when said input documents were written to the transaction log(TransactionLog:100).
 IMO, These fields ought to be resolved by the RealTimgeGetComponent#toSolrDoc method, which takes a Document as an input(which may contain LazyFields) and returns a SolrInputDocument representation of said SolrDocument.

  was:
As I was working on SOLR-12638, I noticed RealTimgeGetComponent#toSolrDoc does not resolve lazy fields. 
 This behavior is cause by the use of transformers which use SolrDocumentFetcher, which caused exceptions to be thrown when said input documents were written to the transaction log(TransactionLog:100).
 IMO, These fields ought to be resolved by the RealTimgeGetComponent#toSolrDoc method, which takes a Document as an input(which may contain LazyFields) and returns a SolrInputDocument representation of said SolrDocument.

        Summary: RealTimeGetComponent#toSolrInputDocument should materialize LazyFields  (was: RealTimeGetComponent#toSolrDoc should be able to resolve LazyFields)

> RealTimeGetComponent#toSolrInputDocument should materialize LazyFields
> ----------------------------------------------------------------------
>
>                 Key: SOLR-13034
>                 URL: https://issues.apache.org/jira/browse/SOLR-13034
>             Project: Solr
>          Issue Type: Bug
>            Reporter: mosh
>            Assignee: David Smiley
>            Priority: Major
>              Labels: RealTimeGet
>
> Edited for toSolrInputDocument instead of toSolrDoc...
> ----
> As I was working on SOLR-12638, I noticed RealTimgeGetComponent#toSolrDoc does not resolve lazy fields. 
>  This behavior is cause by the use of transformers which use SolrDocumentFetcher, which caused exceptions to be thrown when said input documents were written to the transaction log(TransactionLog:100).
>  IMO, These fields ought to be resolved by the RealTimgeGetComponent#toSolrDoc method, which takes a Document as an input(which may contain LazyFields) and returns a SolrInputDocument representation of said SolrDocument.



--
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