munendrasn commented on a change in pull request #1334: SOLR-8306: Enhance ExpandComponent to allow expand.hits=0 URL: https://github.com/apache/lucene-solr/pull/1334#discussion_r392044626
########## File path: solr/core/src/test/org/apache/solr/handler/component/TestExpandComponent.java ########## @@ -234,6 +234,21 @@ private void _testExpand(String group, String floatAppend, String hint) throws E "/response/lst[@name='expanded']/result[@name='2"+floatAppend+"']/doc[1]/str[@name='id'][.='8']" ); + //Test expand.rows = 0 - no docs only expand count + params = new ModifiableSolrParams(); Review comment: Same as above so that we can cover more cases ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org