You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 18:39:00 UTC

[jira] [Resolved] (SOLR-2899) Custom DIH Functions in Delta-Query have null Context

     [ https://issues.apache.org/jira/browse/SOLR-2899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexandre Rafalovitch resolved SOLR-2899.
-----------------------------------------
    Resolution: Won't Fix

> 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: Major
>              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 was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org