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

Custom DIH Functions in Delta-Query have null Context

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • 3.4
    • None
    • None

    Description

      We must use a custom fucntion in the deltaQuery, but the passed in Context is always null, preventing any variable resolution.
      In full-import mode behavior is correct.

      Looking into the sources showed that the Conext is used from a thread-local Context.CURRENT_CONTEXT.get(),
      wich is never set by (Context.CURRENT_CONTEXT.set()) for the Context created in DocBuilder.java:871

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mcbain4711 Jens Zastrow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: