Project

General

Profile

« Previous | Next » 

Revision 57517

OpenOrgs DB: use of tsv for rels

View differences:

GenerateOrganizationsReducer.java
47 47
				emit(e3, context);
48 48
				return;
49 49
			}
50
			final OafEntity e4 = findOrgToEmit("20|", list);
50
			final OafEntity e4 = findOrgToEmit("", list);
51 51
			if (e4 != null) {
52 52
				context.getCounter("organization", "new (from other sources)").increment(1);
53 53
				emit(e4, context);
......
63 63
		final List<OafEntity> valids = new ArrayList<>();
64 64

  
65 65
		for (final OafEntity e : list) {
66
			if (e.getId().startsWith(idPrefix)) {
66
			if (e.getId().startsWith("20|" + idPrefix)) {
67 67
				valids.add(e);
68 68
			}
69 69
		}

Also available in: Unified diff