mirror of https://github.com/apache/lucene.git
SOLR-2894: tweak test to workarround SOLR-6386
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1618490 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4f9bc97179
commit
343e65244e
|
@ -177,9 +177,12 @@ public class TestDistributedSearch extends BaseDistributedSearchTestCase {
|
||||||
query("q","*:*", "rows",0, "facet","true", "facet.query","{!term f=foo_s}international\u00ff\u01ff\u2222\u3333");
|
query("q","*:*", "rows",0, "facet","true", "facet.query","{!term f=foo_s}international\u00ff\u01ff\u2222\u3333");
|
||||||
|
|
||||||
// simple field facet on date fields
|
// simple field facet on date fields
|
||||||
rsp = query("q","*:*", "rows",0, "facet","true", "facet.field", tdate_a);
|
rsp = query("q","*:*", "rows", 0,
|
||||||
|
"facet","true", "facet.limit", 1, // TODO: limit shouldn't be needed: SOLR-6386
|
||||||
|
"facet.field", tdate_a);
|
||||||
assertEquals(1, rsp.getFacetFields().size());
|
assertEquals(1, rsp.getFacetFields().size());
|
||||||
rsp = query("q","*:*", "rows",0, "facet","true",
|
rsp = query("q","*:*", "rows", 0,
|
||||||
|
"facet","true", "facet.limit", 1, // TODO: limit shouldn't be needed: SOLR-6386
|
||||||
"facet.field", tdate_b, "facet.field", tdate_a);
|
"facet.field", tdate_b, "facet.field", tdate_a);
|
||||||
assertEquals(2, rsp.getFacetFields().size());
|
assertEquals(2, rsp.getFacetFields().size());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue