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

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated: