You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Marc Emery <ma...@gmail.com> on 2010/09/16 10:02:50 UTC

bug in dataimport context ?

Hi,

It seems the dataimport context session setter is harcoded to the
"entitySession":

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

shouldn't be rather like this:

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

Cheers
marc