Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

move package.html to correct spot

Mark Robert Miller8cf7fdb567b0
diff --git a/contrib/benchmark/src/java/org/apache/lucene/benchmark/package.html b/contrib/benchmark/src/java/org/apache/lucene/benchmark/package.html
new file mode 100644
index 00000000000..e671b371b2d
--- /dev/null
+++ b/contrib/benchmark/src/java/org/apache/lucene/benchmark/package.html
@@ -0,0 +1,44 @@
+<HTML>
+<!--**
+* Copyright 2005 The Apache Software Foundation
+*
+* Licensed under the Apache License, Version 2.0 (the "License");
+* you may not use this file except in compliance with the License.
+* You may obtain a copy of the License at
+*
+* http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+*
+-->
+<HEAD>
+ <TITLE>Lucene Benchmarking Package</TITLE>
+</HEAD>
+<BODY>
+<DIV>
+ <p/>
+ The benchmark contribution contains tools for benchmarking Lucene using a standard, freely available corpus. ANT will
+ download the corpus automatically, place it in a temp directory and then unpack it to the working.dir directory specified in the build.
+ The temp directory
+ and working directory can be safely removed after a run. However, the next time the task is run, it will need to download the files again.
+<p/>
+ Classes implementing the Benchmarker interface should have a no-argument constructor if they are to be used with the Driver class. The Driver
+ class is provided for convenience only. Feel free to implement your own main class for your benchmarker.
+<p/>
+ The StandardBenchmarker is meant to be just that, a standard that runs out of the box with no configuration or changes needed.
+ Other benchmarking classes may derive from it to provide alternate views or to take in command line options. When reporting benchmarking runs
+ you should state any alterations you have made.
+ <p/>
+ To run the short version of the StandardBenchmarker, call "ant run-micro-standard". This should take a minute or so to complete and give you a preliminary idea of how your change affects the code
+ <p/>
+ To run the long version of the StandardBenchmarker, call "ant run-standard". This takes considerably longer.
+ <p/>
+ The original code for these classes was donated by Andrzej Bialecki at http://issues.apache.org/jira/browse/LUCENE-675 and has been updated by Grant Ingersoll to make some parts of the code reusable in other benchmarkers
+</DIV>
+<DIV>&nbsp;</DIV>
+</BODY>
+</HTML>
\ No newline at end of file