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

RealTimeGetComponent#toSolrInputDocument should materialize LazyFields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 8.9
    • None

    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

              dsmiley David Smiley
              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