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

[subquery] transformer doesn't automatically request needed fields, only other fields in fl can be used as input to subquery

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      spinning off of SOLR-9377...

      the [subquery] transformer doesn't do anything to explicitly request the document fields it needs in order to construct the subquery it executes (ie every field foo to fill in $row.foo)). Which can lead to unexpected errors when parsing/executing the subquery.

      The workaround is to only use the [subquery] transformer in conjunction with an fl=* glob, or explicitly list all fields needed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                hossman Chris M. Hostetter
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: