Revision 8733
Added by ben leinfelder over 10 years ago
metacat-common/src/test/java/edu/ucsb/nceas/metacat/common/query/SolrQueryServiceControllerTest.java | ||
---|---|---|
48 | 48 |
public void testgetIndexSchemaFields() throws Exception { |
49 | 49 |
Map<String, SchemaField> fields = SolrQueryServiceController.getInstance().getIndexSchemaFields(); |
50 | 50 |
assertTrue(fields != null); |
51 |
assertTrue("The number of index schema fields should be 102 rather than "+fields.size(), fields.size() == 102);
|
|
51 |
assertTrue("The number of index schema fields should be 111 rather than "+fields.size(), fields.size() == 111);
|
|
52 | 52 |
} |
53 | 53 |
|
54 | 54 |
/** |
Also available in: Unified diff
up the field count to 111 to include the 9 geohash fields.