Custom DIH Functions in Delta-Query have null Context
-----------------------------------------------------

                 Key: SOLR-2899
                 URL: https://issues.apache.org/jira/browse/SOLR-2899
             Project: Solr
          Issue Type: Bug
    Affects Versions: 3.4
            Reporter: Jens Zastrow
            Priority: Blocker


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to