[ https://issues.apache.org/jira/browse/LUCENE-3790?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shai Erera resolved LUCENE-3790. -------------------------------- Resolution: Fixed Assignee: Shai Erera Committed the fix in rev 1244532. > benchmark cannot parse highlight-vs-vector-highlight.alg, but only on 3.x?! > --------------------------------------------------------------------------- > > Key: LUCENE-3790 > URL: https://issues.apache.org/jira/browse/LUCENE-3790 > Project: Lucene - Java > Issue Type: Bug > Components: modules/benchmark > Reporter: Robert Muir > Assignee: Shai Erera > 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. > {noformat} > [junit] ------------- Standard Error ----------------- > [junit] java.lang.NumberFormatException: For input string: > "maxFrags[3.0],fields[body]" > [junit] at > sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1222) > [junit] at java.lang.Float.parseFloat(Float.java:422) > [junit] at > org.apache.lucene.benchmark.byTask.tasks.SearchTravTask.setParams(SearchTravTask.java:76) > [junit] at > org.apache.lucene.benchmark.byTask.tasks.SearchTravRetVectorHighlightTask.setParams(SearchTravRetVectorHighlightTask.java:124) > [junit] at > org.apache.lucene.benchmark.byTask.utils.Algorithm.<init>(Algorithm.java:112) > [junit] at > org.apache.lucene.benchmark.byTask.TestPerfTasksParse.testParseExamples(TestPerfTasksParse.java:132) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org