lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Zastrow (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SOLR-2899) Custom DIH Functions in Delta-Query have null Context
Date Tue, 15 Nov 2011 13:11:51 GMT
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message