lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Wesemann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2704) Context of DataImportHandler can't store in Global Scope
Date Tue, 16 Aug 2011 10:52:27 GMT

    [ https://issues.apache.org/jira/browse/SOLR-2704?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13085631#comment-13085631
] 

Frank Wesemann commented on SOLR-2704:
--------------------------------------

Duplicates SOLR-2542

> Context of DataImportHandler can't store in Global Scope
> --------------------------------------------------------
>
>                 Key: SOLR-2704
>                 URL: https://issues.apache.org/jira/browse/SOLR-2704
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 3.3
>            Reporter: marc emery
>            Priority: Minor
>
> The putVal method doesn't care about the 'map' object when adding, it always use entitySession
(instead of globalSession for SCOPE_GLOBAL)
>   private void putVal(String name, Object val, Map map) {
>     if(val == null) map.remove(name);
>     else entitySession.put(name, val);
>   }
> then it should be 
>   private void putVal(String name, Object val, Map map) {
>     if(val == null) map.remove(name);
>     else map.put(name, val);
>   }

--
This message is automatically generated by JIRA.
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