mirror of https://github.com/apache/lucene.git
SOLR-3304 Removed a small bit of redundant testing that tests if [e]dismax defaults to schema defaultSearchField (already tested by TestExtendedDismaxParser). These specific tests will fail for another reason soon if left as is.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1350466 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a440c1c1ad
commit
1ed4c4d40e
|
@ -232,12 +232,6 @@
|
||||||
</lst>
|
</lst>
|
||||||
</requestHandler>
|
</requestHandler>
|
||||||
|
|
||||||
<requestHandler name="dismaxNoDefaults" class="solr.SearchHandler" >
|
|
||||||
<lst name="defaults">
|
|
||||||
<str name="defType">dismax</str>
|
|
||||||
</lst>
|
|
||||||
</requestHandler>
|
|
||||||
|
|
||||||
<requestHandler name="mock" class="org.apache.solr.core.MockQuerySenderListenerReqHandler"/>
|
<requestHandler name="mock" class="org.apache.solr.core.MockQuerySenderListenerReqHandler"/>
|
||||||
|
|
||||||
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
<requestHandler name="/admin/" class="org.apache.solr.handler.admin.AdminHandlers" />
|
||||||
|
|
|
@ -194,16 +194,5 @@ public class DisMaxRequestHandlerTest extends SolrTestCaseJ4 {
|
||||||
assertTrue(p_bool.matcher(resp).find());
|
assertTrue(p_bool.matcher(resp).find());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
|
||||||
public void testSimplestParams() throws Exception {
|
|
||||||
|
|
||||||
assertQ("match w/o only q param",
|
|
||||||
req("qt", "dismaxNoDefaults",
|
|
||||||
"q","guide")
|
|
||||||
,"//*[@numFound='2']"
|
|
||||||
);
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue