Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3790

benchmark cannot parse highlight-vs-vector-highlight.alg, but only on 3.x?!

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6
    • Component/s: modules/benchmark
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      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(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)
      

        Attachments

          Activity

            People

            • Assignee:
              shaie Shai Erera
              Reporter:
              rcmuir Robert Muir
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: