lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (Created) (JIRA)" <>
Subject [jira] [Created] (LUCENE-3790) benchmark cannot parse highlight-vs-vector-highlight.alg, but only on 3.x?!
Date Wed, 15 Feb 2012 15:01:00 GMT
benchmark cannot parse highlight-vs-vector-highlight.alg, but only on 3.x?!

                 Key: LUCENE-3790
             Project: Lucene - Java
          Issue Type: Bug
          Components: modules/benchmark
            Reporter: Robert Muir
             Fix For: 3.6

A new test (TestPerfTasksParse.testParseExamples) was added in LUCENE-3768 that 
guarantees all .alg files in the conf/ directory can actually be parsed...

But highlight-vs-vector-highlight.alg cannot be parsed on 3.x (NumberFormatException), 
however it works fine on trunk... and the .alg is exactly the same in both cases.

    [junit] ------------- Standard Error -----------------
    [junit] java.lang.NumberFormatException: For input string: "maxFrags[3.0],fields[body]"
    [junit] 	at sun.misc.FloatingDecimal.readJavaFormatString(
    [junit] 	at java.lang.Float.parseFloat(
    [junit] 	at org.apache.lucene.benchmark.byTask.tasks.SearchTravTask.setParams(
    [junit] 	at org.apache.lucene.benchmark.byTask.tasks.SearchTravRetVectorHighlightTask.setParams(
    [junit] 	at org.apache.lucene.benchmark.byTask.utils.Algorithm.<init>(
    [junit] 	at org.apache.lucene.benchmark.byTask.TestPerfTasksParse.testParseExamples(

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message