From 8256f805235f281d1fcc78c0e61788462442b919 Mon Sep 17 00:00:00 2001 From: "Chris M. Hostetter" Date: Tue, 6 Aug 2013 17:23:52 +0000 Subject: [PATCH] SOLR-4952: ConvertedLegacyTest shouldn't assuming an absolute score now that we are randomizing merge policy settings, term stats may fluctuate git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1511044 13f79535-47bb-0310-9956-ffa450edef68 --- solr/core/src/test/org/apache/solr/ConvertedLegacyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solr/core/src/test/org/apache/solr/ConvertedLegacyTest.java b/solr/core/src/test/org/apache/solr/ConvertedLegacyTest.java index 9150af4da26..09c5750f8eb 100644 --- a/solr/core/src/test/org/apache/solr/ConvertedLegacyTest.java +++ b/solr/core/src/test/org/apache/solr/ConvertedLegacyTest.java @@ -1121,7 +1121,7 @@ public class ConvertedLegacyTest extends SolrTestCaseJ4 { "standard", 0, 10, args); assertQ(req ,"//str[.='Yonik']" - ,"//float[.='2.9459102']" + ,"//float[@name='score' and . > 0]" ); // test addition of score field