@Test
public void docShouldBeDiscoverableWithMultiValuedFields() throws SolrServerException, IOException, BlurException,
TException {
String table = "docShouldBeDiscoverableWithMultiValuedFields";
createTable(table);
SolrServer server = new SolrLookingBlurServer(miniCluster.getControllerConnectionStr(), table);
SolrInputDocument doc = new SolrInputDocument();
doc.addField("rowid", "1");
SolrInputDocument child = new SolrInputDocument();
child.addField("recordid", "1");
child.addField("fam.value", "123");
child.addField("fam.value", "124");
doc.addChildDocument(child);
server.add(doc);
assertTotalResults(table, "fam.value:123", 1l);
assertTotalResults(table, "fam.value:124", 1l);
assertTotalResults(table, "fam.value:justincase", 0l);