[
https://issues.apache.org/jira/browse/LUCENE-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463830
]
Doron Cohen commented on LUCENE-675:
------------------------------------
Oops... I had the impression that compiling with compliance level 1.4 is
sufficient to prevent this, but guess I need to read again what that compliance
level setting guarantees exactly.
Anyhow there are a 3 things that require 1.5:
- Boolean.parseBoolean() --> Boolean.valueOf().booleanValue()
- String.contains() --> indexOf()
- Class.getSimpleName() --> ?
Modifying Class.getSimpleName() to Class.getName() would not be very nice -
queries prints and task names prints would be quite ugly. To fix that I added a
method simpleName(Class) to byTask.util.Format. I am attaching an updated patch
- byTask.jre1.4.patch.txt - that includes this method and removes the Java 1.5
dependency.
Thanks for catching this!
Doron
> Lucene benchmark: objective performance test for Lucene
> -------------------------------------------------------
>
> Key: LUCENE-675
> URL: https://issues.apache.org/jira/browse/LUCENE-675
> Project: Lucene - Java
> Issue Type: Improvement
> Reporter: Andrzej Bialecki
> Assigned To: Grant Ingersoll
> Priority: Minor
> Attachments: benchmark.byTask.patch, benchmark.patch,
> BenchmarkingIndexer.pm, byTask.2.patch.txt, byTask.jre1.4.patch.txt,
> extract_reuters.plx, LuceneBenchmark.java, LuceneIndexer.java,
> taskBenchmark.zip, timedata.zip, tiny.alg, tiny.properties
>
>
> We need an objective way to measure the performance of Lucene, both indexing
> and querying, on a known corpus. This issue is intended to collect comments
> and patches implementing a suite of such benchmarking tests.
> Regarding the corpus: one of the widely used and freely available corpora is
> the original Reuters collection, available from
> http://www-2.cs.cmu.edu/afs/cs.cmu.edu/project/theo-20/www/data/news20.tar.gz
> or
> http://people.csail.mit.edu/u/j/jrennie/public_html/20Newsgroups/20news-18828.tar.gz.
> I propose to use this corpus as a base for benchmarks. The benchmarking
> suite could automatically retrieve it from known locations, and cache it
> locally.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]