Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-13034

RealTimeGetComponent#toSolrInputDocument should materialize LazyFields

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.9
    • Component/s: None
    • Labels:

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dsmiley David Smiley
                Reporter:
                moshebla mosh
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m