lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <>
Subject Re: Benchmarking LUCENE-584 with contrib/benchmark
Date Tue, 03 Apr 2007 12:26:25 GMT

On Apr 3, 2007, at 2:05 AM, Antony Bowesman wrote:

> Otis Gospodnetic wrote:
>> Here is one more related question.
>> It looks like the o.a.l.benchmark.Driver class is supposed to be a  
>> generic driver class that uses the Benchmarker configured in one  
>> of those conf/*.xml files.  However, I see  
>> StandardBenchmarker.class hard-coded there:
>>         digester.addObjectCreate("benchmark/benchmarker", "class",  
>> StandardBenchmarker.class);  <==
> Maybe I'm missing something, but isn't the 3rd param to  
> addObjectCreate just a default and the real class is defined by the  
> "class" attribute in the XML file.

Yes, this is the case.

FWIW, we will most likely be deprecating these classes and eventually  
removing them as the Task based approach is proving to be much more  
flexible and useful and contains all (or almost all) the  
functionality of StandardBenchmarker.

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

View raw message