[ https://issues.apache.org/jira/browse/SOLR-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13541391#comment-13541391 ]
James Dyer commented on SOLR-2899: ---------------------------------- Jens, I wonder if this was fixed for SOLR 4.1 with SOLR-4086. Any chance you can test this? > 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 > Labels: custom, dih, functions > > 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 For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org