public void testFieldManagerMultipleColumnsDifferentNamesDifferentFamilies() throws IOException {
BaseFieldManager memoryFieldManager = newFieldManager(true);
memoryFieldManager.addColumnDefinition("fam1", "col1", null, false, "text", false, null);
memoryFieldManager.addColumnDefinition("fam2", "col2", null, false, "text", false, null);
Record record1 = new Record();
record1.setFamily("fam1");
record1.setRecordId("1213");
record1.addToColumns(new Column("col1", "value1"));
List<Field> fields1 = getFields("fam1", "1", "1213", newFieldsNoStore(BlurConstants.FIELDS, "fam1.col1"),
newTextField("fam1.col1", "value1"));
int c1 = 0;
for (Field field : memoryFieldManager.getFields("1", record1)) {
assertFieldEquals(fields1.get(c1++), field);
}
Record record2 = new Record();
record2.setFamily("fam2");
record2.setRecordId("1213");
record2.addToColumns(new Column("col2", "value1"));
List<Field> fields2 = getFields("fam2", "1", "1213", newFieldsNoStore(BlurConstants.FIELDS, "fam2.col2"),
newTextField("fam2.col2", "value1"));
int c2 = 0;
for (Field field : memoryFieldManager.getFields("1", record2)) {