lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc Emery <marco.em...@gmail.com>
Subject DIH context fails to store in global scope
Date Fri, 16 Jul 2010 10:20:17 GMT
Hi,

I am writing a EventListener that put some data in the content on import
start:

ctx.setSessionAttribute( DOCTYPE_MAPPING, docTypeMap, Context.SCOPE_GLOBAL
);

but it doesn't seem to work.

looking at the trunk code of ContextImpl.java the globalSession is not
called:

  private void putVal(String name, Object val, Map map) {
    if(val == null) map.remove(name);
    else entitySession.put(name, val);
  }

Thanks
marc

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message