Skip to content

Apache Lucene open-source search software

Skip the response section since we are testing only spellcheck results

Shalin Shekhar Mangar9881179cae70
diff --git a/src/test/org/apache/solr/handler/component/DistributedSpellCheckComponentTest.java b/src/test/org/apache/solr/handler/component/DistributedSpellCheckComponentTest.java
index 6d3ea770a16..1ae16ad0b8d 100644
--- a/src/test/org/apache/solr/handler/component/DistributedSpellCheckComponentTest.java
+++ b/src/test/org/apache/solr/handler/component/DistributedSpellCheckComponentTest.java
@@ -30,6 +30,8 @@ public class DistributedSpellCheckComponentTest extends BaseDistributedSearchTes
handle.put("QTime", SKIPVAL);
handle.put("timestamp", SKIPVAL);
handle.put("maxScore", SKIPVAL);
+ // we care only about the spellcheck results
+ handle.put("response", SKIP);
query("q", "*:*", "fl", "id,lowerfilt", "spellcheck.q","toyata", "spellcheck", "true", SpellCheckComponent.SPELLCHECK_BUILD, "true", "qt", "spellCheckCompRH", "shards.qt", "spellCheckCompRH");
query("q", "*:*", "fl", "id,lowerfilt", "spellcheck.q","toyata", "spellcheck", "true", SpellCheckComponent.SPELLCHECK_BUILD, "true", "qt", "spellCheckCompRH", "shards.qt", "spellCheckCompRH", SpellCheckComponent.SPELLCHECK_EXTENDED_RESULTS, "true");