Build: https://builds.apache.org/job/Lucene-Solr-tests-only-trunk/10714/

1 tests failed.
REGRESSION:  org.apache.lucene.search.TestComplexExplanations.test2

Error Message:
+field:"w1 w2"~1 spanNear([field:w2, spanOr([field:w5, field:zz])], 4, true) 
spanNear([spanFirst(field:w3, 2), field:w2, field:w3], 5, true) 
filtered(field:xx)->org.apache.lucene.search.TestExplanations$ItemizedFilter@52458429^1000.0
 
ConstantScore(org.apache.lucene.search.TestExplanations$ItemizedFilter@51e7c9f1)^-20.0
 (spanNear([field:w2, spanOr([field:w5, field:zz])], 4, true) | field:QQ | 
(field:xx field:yy -field:zz) | (-field:xx -field:w1) | (field:w1 | field:w2 | 
field:w3)~0.5)~0.2 ((spanNear([field:w1, field:w2], 1, true) 
spanNear([field:w2, field:w3], 1, true) spanNear([field:w1, field:w3], 3, 
true))~2^0.0): score(doc=2)=-8.79626 != explanationScore=-8.796259 Explanation: 
-8.796259 = (MATCH) product of:   -15.393453 = (MATCH) sum of:     1.493601 = 
(MATCH) weight(field:"w1 w2"~1 in 2) [DefaultSimilarity], result of:       
1.493601 = score(doc=2,freq=0.5 = phraseFreq=0.5 ), product of:         
1.5537128 = queryWeight, product of:           1.5537128 = idf(), sum of:       
      0.7768564 = idf(docFreq=4, maxDocs=4)             0.7768564 = 
idf(docFreq=4, maxDocs=4)           1.0 = queryNorm         0.9613108 = 
fieldWeight in 2, product of:           0.70710677 = tf(freq=0.5), with freq 
of:             0.5 = phraseFreq=0.5           1.5537128 = idf(), sum of:       
      0.7768564 = idf(docFreq=4, maxDocs=4)             0.7768564 = 
idf(docFreq=4, maxDocs=4)           0.875 = fieldNorm(doc=2)     -20.0 = 
(MATCH) 
ConstantScore(org.apache.lucene.search.TestExplanations$ItemizedFilter@51e7c9f1)^-20.0,
 product of:       -20.0 = boost       1.0 = queryNorm     3.1129463 = (MATCH) 
max plus 0.2 times others of:       2.901719 = (MATCH) sum of:         
1.4508595 = (MATCH) weight(field:xx in 2) [DefaultSimilarity], result of:       
    1.4508595 = score(doc=2,freq=1.0 = termFreq=1 ), product of:             
1.287682 = queryWeight, product of:               1.287682 = idf(docFreq=2, 
maxDocs=4)               1.0 = queryNorm             1.1267219 = fieldWeight in 
2, product of:               1.0 = tf(freq=1.0), with freq of:                 
1.0 = termFreq=1               1.287682 = idf(docFreq=2, maxDocs=4)             
  0.875 = fieldNorm(doc=2)         1.4508595 = (MATCH) weight(field:yy in 2) 
[DefaultSimilarity], result of:           1.4508595 = score(doc=2,freq=1.0 = 
termFreq=1 ), product of:             1.287682 = queryWeight, product of:       
        1.287682 = idf(docFreq=2, maxDocs=4)               1.0 = queryNorm      
       1.1267219 = fieldWeight in 2, product of:               1.0 = 
tf(freq=1.0), with freq of:                 1.0 = termFreq=1               
1.287682 = idf(docFreq=2, maxDocs=4)               0.875 = fieldNorm(doc=2)     
  1.0561354 = (MATCH) max plus 0.5 times others of:         0.52806765 = 
(MATCH) weight(field:w1 in 2) [DefaultSimilarity], result of:           
0.52806765 = score(doc=2,freq=1.0 = termFreq=1 ), product of:             
0.7768564 = queryWeight, product of:               0.7768564 = idf(docFreq=4, 
maxDocs=4)               1.0 = queryNorm             0.67974937 = fieldWeight 
in 2, product of:               1.0 = tf(freq=1.0), with freq of:               
  1.0 = termFreq=1               0.7768564 = idf(docFreq=4, maxDocs=4)          
     0.875 = fieldNorm(doc=2)         0.52806765 = (MATCH) weight(field:w2 in 
2) [DefaultSimilarity], result of:           0.52806765 = score(doc=2,freq=1.0 
= termFreq=1 ), product of:             0.7768564 = queryWeight, product of:    
           0.7768564 = idf(docFreq=4, maxDocs=4)               1.0 = queryNorm  
           0.67974937 = fieldWeight in 2, product of:               1.0 = 
tf(freq=1.0), with freq of:                 1.0 = termFreq=1               
0.7768564 = idf(docFreq=4, maxDocs=4)               0.875 = fieldNorm(doc=2)    
     0.52806765 = (MATCH) weight(field:w3 in 2) [DefaultSimilarity], result of: 
          0.52806765 = score(doc=2,freq=1.0 = termFreq=1 ), product of:         
    0.7768564 = queryWeight, product of:               0.7768564 = 
idf(docFreq=4, maxDocs=4)               1.0 = queryNorm             0.67974937 
= fieldWeight in 2, product of:               1.0 = tf(freq=1.0), with freq of: 
                1.0 = termFreq=1               0.7768564 = idf(docFreq=4, 
maxDocs=4)               0.875 = fieldNorm(doc=2)     0.0 = (MATCH) sum of:     
  0.0 = (MATCH) weight(spanNear([field:w1, field:w2], 1, true) in 2) 
[DefaultSimilarity], result of:         0.0 = score(doc=2,freq=0.25 = 
phraseFreq=0.25 ), product of:           0.0 = queryWeight, product of:         
    1.5537128 = idf(), sum of:               0.7768564 = idf(docFreq=4, 
maxDocs=4)               0.7768564 = idf(docFreq=4, maxDocs=4)             0.0 
= queryNorm           0.67974937 = fieldWeight in 2, product of:             
0.5 = tf(freq=0.25), with freq of:               0.25 = phraseFreq=0.25         
    1.5537128 = idf(), sum of:               0.7768564 = idf(docFreq=4, 
maxDocs=4)               0.7768564 = idf(docFreq=4, maxDocs=4)             
0.875 = fieldNorm(doc=2)       0.0 = (MATCH) weight(spanNear([field:w2, 
field:w3], 1, true) in 2) [DefaultSimilarity], result of:         0.0 = 
score(doc=2,freq=0.25 = phraseFreq=0.25 ), product of:           0.0 = 
queryWeight, product of:             1.5537128 = idf(), sum of:               
0.7768564 = idf(docFreq=4, maxDocs=4)               0.7768564 = idf(docFreq=4, 
maxDocs=4)             0.0 = queryNorm           0.67974937 = fieldWeight in 2, 
product of:             0.5 = tf(freq=0.25), with freq of:               0.25 = 
phraseFreq=0.25             1.5537128 = idf(), sum of:               0.7768564 
= idf(docFreq=4, maxDocs=4)               0.7768564 = idf(docFreq=4, maxDocs=4) 
            0.875 = fieldNorm(doc=2)       0.0 = (MATCH) 
weight(spanNear([field:w1, field:w3], 3, true) in 2) [DefaultSimilarity], 
result of:         0.0 = score(doc=2,freq=0.16666667 = phraseFreq=0.16666667 ), 
product of:           0.0 = queryWeight, product of:             1.5537128 = 
idf(), sum of:               0.7768564 = idf(docFreq=4, maxDocs=4)              
 0.7768564 = idf(docFreq=4, maxDocs=4)             0.0 = queryNorm           
0.55501306 = fieldWeight in 2, product of:             0.4082483 = 
tf(freq=0.16666667), with freq of:               0.16666667 = 
phraseFreq=0.16666667             1.5537128 = idf(), sum of:               
0.7768564 = idf(docFreq=4, maxDocs=4)               0.7768564 = idf(docFreq=4, 
maxDocs=4)             0.875 = fieldNorm(doc=2)   0.5714286 = coord(4/7)  
expected:<-8.79626> but was:<-8.796259>

Stack Trace:
junit.framework.AssertionFailedError: +field:"w1 w2"~1 spanNear([field:w2, 
spanOr([field:w5, field:zz])], 4, true) spanNear([spanFirst(field:w3, 2), 
field:w2, field:w3], 5, true) 
filtered(field:xx)->org.apache.lucene.search.TestExplanations$ItemizedFilter@52458429^1000.0
 
ConstantScore(org.apache.lucene.search.TestExplanations$ItemizedFilter@51e7c9f1)^-20.0
 (spanNear([field:w2, spanOr([field:w5, field:zz])], 4, true) | field:QQ | 
(field:xx field:yy -field:zz) | (-field:xx -field:w1) | (field:w1 | field:w2 | 
field:w3)~0.5)~0.2 ((spanNear([field:w1, field:w2], 1, true) 
spanNear([field:w2, field:w3], 1, true) spanNear([field:w1, field:w3], 3, 
true))~2^0.0): score(doc=2)=-8.79626 != explanationScore=-8.796259 Explanation: 
-8.796259 = (MATCH) product of:
  -15.393453 = (MATCH) sum of:
    1.493601 = (MATCH) weight(field:"w1 w2"~1 in 2) [DefaultSimilarity], result 
of:
      1.493601 = score(doc=2,freq=0.5 = phraseFreq=0.5
), product of:
        1.5537128 = queryWeight, product of:
          1.5537128 = idf(), sum of:
            0.7768564 = idf(docFreq=4, maxDocs=4)
            0.7768564 = idf(docFreq=4, maxDocs=4)
          1.0 = queryNorm
        0.9613108 = fieldWeight in 2, product of:
          0.70710677 = tf(freq=0.5), with freq of:
            0.5 = phraseFreq=0.5
          1.5537128 = idf(), sum of:
            0.7768564 = idf(docFreq=4, maxDocs=4)
            0.7768564 = idf(docFreq=4, maxDocs=4)
          0.875 = fieldNorm(doc=2)
    -20.0 = (MATCH) 
ConstantScore(org.apache.lucene.search.TestExplanations$ItemizedFilter@51e7c9f1)^-20.0,
 product of:
      -20.0 = boost
      1.0 = queryNorm
    3.1129463 = (MATCH) max plus 0.2 times others of:
      2.901719 = (MATCH) sum of:
        1.4508595 = (MATCH) weight(field:xx in 2) [DefaultSimilarity], result 
of:
          1.4508595 = score(doc=2,freq=1.0 = termFreq=1
), product of:
            1.287682 = queryWeight, product of:
              1.287682 = idf(docFreq=2, maxDocs=4)
              1.0 = queryNorm
            1.1267219 = fieldWeight in 2, product of:
              1.0 = tf(freq=1.0), with freq of:
                1.0 = termFreq=1
              1.287682 = idf(docFreq=2, maxDocs=4)
              0.875 = fieldNorm(doc=2)
        1.4508595 = (MATCH) weight(field:yy in 2) [DefaultSimilarity], result 
of:
          1.4508595 = score(doc=2,freq=1.0 = termFreq=1
), product of:
            1.287682 = queryWeight, product of:
              1.287682 = idf(docFreq=2, maxDocs=4)
              1.0 = queryNorm
            1.1267219 = fieldWeight in 2, product of:
              1.0 = tf(freq=1.0), with freq of:
                1.0 = termFreq=1
              1.287682 = idf(docFreq=2, maxDocs=4)
              0.875 = fieldNorm(doc=2)
      1.0561354 = (MATCH) max plus 0.5 times others of:
        0.52806765 = (MATCH) weight(field:w1 in 2) [DefaultSimilarity], result 
of:
          0.52806765 = score(doc=2,freq=1.0 = termFreq=1
), product of:
            0.7768564 = queryWeight, product of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              1.0 = queryNorm
            0.67974937 = fieldWeight in 2, product of:
              1.0 = tf(freq=1.0), with freq of:
                1.0 = termFreq=1
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.875 = fieldNorm(doc=2)
        0.52806765 = (MATCH) weight(field:w2 in 2) [DefaultSimilarity], result 
of:
          0.52806765 = score(doc=2,freq=1.0 = termFreq=1
), product of:
            0.7768564 = queryWeight, product of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              1.0 = queryNorm
            0.67974937 = fieldWeight in 2, product of:
              1.0 = tf(freq=1.0), with freq of:
                1.0 = termFreq=1
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.875 = fieldNorm(doc=2)
        0.52806765 = (MATCH) weight(field:w3 in 2) [DefaultSimilarity], result 
of:
          0.52806765 = score(doc=2,freq=1.0 = termFreq=1
), product of:
            0.7768564 = queryWeight, product of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              1.0 = queryNorm
            0.67974937 = fieldWeight in 2, product of:
              1.0 = tf(freq=1.0), with freq of:
                1.0 = termFreq=1
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.875 = fieldNorm(doc=2)
    0.0 = (MATCH) sum of:
      0.0 = (MATCH) weight(spanNear([field:w1, field:w2], 1, true) in 2) 
[DefaultSimilarity], result of:
        0.0 = score(doc=2,freq=0.25 = phraseFreq=0.25
), product of:
          0.0 = queryWeight, product of:
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.0 = queryNorm
          0.67974937 = fieldWeight in 2, product of:
            0.5 = tf(freq=0.25), with freq of:
              0.25 = phraseFreq=0.25
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.875 = fieldNorm(doc=2)
      0.0 = (MATCH) weight(spanNear([field:w2, field:w3], 1, true) in 2) 
[DefaultSimilarity], result of:
        0.0 = score(doc=2,freq=0.25 = phraseFreq=0.25
), product of:
          0.0 = queryWeight, product of:
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.0 = queryNorm
          0.67974937 = fieldWeight in 2, product of:
            0.5 = tf(freq=0.25), with freq of:
              0.25 = phraseFreq=0.25
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.875 = fieldNorm(doc=2)
      0.0 = (MATCH) weight(spanNear([field:w1, field:w3], 3, true) in 2) 
[DefaultSimilarity], result of:
        0.0 = score(doc=2,freq=0.16666667 = phraseFreq=0.16666667
), product of:
          0.0 = queryWeight, product of:
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.0 = queryNorm
          0.55501306 = fieldWeight in 2, product of:
            0.4082483 = tf(freq=0.16666667), with freq of:
              0.16666667 = phraseFreq=0.16666667
            1.5537128 = idf(), sum of:
              0.7768564 = idf(docFreq=4, maxDocs=4)
              0.7768564 = idf(docFreq=4, maxDocs=4)
            0.875 = fieldNorm(doc=2)
  0.5714286 = coord(4/7)
 expected:<-8.79626> but was:<-8.796259>
        at 
org.apache.lucene.search.CheckHits.verifyExplanation(CheckHits.java:328)
        at 
org.apache.lucene.search.CheckHits$ExplanationAsserter.collect(CheckHits.java:498)
        at 
org.apache.lucene.search.BooleanScorer2.score(BooleanScorer2.java:281)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:577)
        at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:362)
        at 
org.apache.lucene.search.CheckHits.checkExplanations(CheckHits.java:302)
        at 
org.apache.lucene.search.QueryUtils.checkExplanations(QueryUtils.java:92)
        at org.apache.lucene.search.QueryUtils.check(QueryUtils.java:126)
        at org.apache.lucene.search.QueryUtils.check(QueryUtils.java:122)
        at org.apache.lucene.search.QueryUtils.check(QueryUtils.java:106)
        at 
org.apache.lucene.search.CheckHits.checkHitCollector(CheckHits.java:89)
        at 
org.apache.lucene.search.TestExplanations.qtest(TestExplanations.java:99)
        at 
org.apache.lucene.search.TestComplexExplanations.test2(TestComplexExplanations.java:183)
        at 
org.apache.lucene.util.LuceneTestCase$2$1.evaluate(LuceneTestCase.java:608)
        at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:148)
        at 
org.apache.lucene.util.LuceneTestCaseRunner.runChild(LuceneTestCaseRunner.java:50)




Build Log (for compile errors):
[...truncated 1634 lines...]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to