public static Map newContext(IndexSearcher searcher) {Map context = new IdentityHashMap();context.put("searcher", searcher);return context;}
public static IDictionary NewContext(IndexSearcher searcher){return new Hashtable(IdentityEqualityComparer<object>.Default){["searcher"] = searcher};}