lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-3768) Typo in some of the .alg files: ForcMerge instead of ForceMerge
Date Fri, 10 Feb 2012 10:41:59 GMT

    [ https://issues.apache.org/jira/browse/LUCENE-3768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13205352#comment-13205352
] 

Michael McCandless commented on LUCENE-3768:
--------------------------------------------

Ugh, how silly of me... maybe we need a unit test that does simple validation (verifies the
algs are parseable) of all the example algs under conf...

Thanks Sami!  +1
                
> Typo in some of the .alg files: ForcMerge instead of ForceMerge
> ---------------------------------------------------------------
>
>                 Key: LUCENE-3768
>                 URL: https://issues.apache.org/jira/browse/LUCENE-3768
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: modules/benchmark
>    Affects Versions: 4.0
>            Reporter: Sami Siren
>         Attachments: LUCENE-3768.patch
>
>
> Some of the alg files have a typo and have ForcMerge when they should have ForceMerge.
This causes following exception to display when those are used:
> {code}
>      [java] java.lang.Exception: Error: cannot understand algorithm!
>      [java] 	at org.apache.lucene.benchmark.byTask.Benchmark.<init>(Benchmark.java:63)
>      [java] 	at org.apache.lucene.benchmark.byTask.Benchmark.exec(Benchmark.java:109)
>      [java] 	at org.apache.lucene.benchmark.byTask.Benchmark.main(Benchmark.java:84)
>      [java] Caused by: java.lang.ClassNotFoundException: ForcMerge not found in packages
[org.apache.lucene.benchmark.byTask.tasks]
>      [java] 	at org.apache.lucene.benchmark.byTask.utils.Algorithm.taskClass(Algorithm.java:283)
>      [java] 	at org.apache.lucene.benchmark.byTask.utils.Algorithm.<init>(Algorithm.java:73)
>      [java] 	at org.apache.lucene.benchmark.byTask.Benchmark.<init>(Benchmark.java:61)
>      [java] 	... 2 more
> {code}
> Caused by: java.lang.ClassNotFoundException: ForcMerge not found in packages [org.apache.lucene.benchmark.byTask.tasks]

--
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message