org.apache.lucene.benchmark.byTask.tasks |
Extendable benchmark tasks.
|
Java Source File Name | Type | Comment |
AddDocTask.java | Class | Add a document, optionally with of a certain size.
Other side effects: none.
Relevant properties: doc.add.log.step .
Takes optional param: document size. |
ClearStatsTask.java | Class | Clear statistics data. |
CloseIndexTask.java | Class | Close index writer. |
CloseReaderTask.java | Class | Close index reader.
Other side effects: index reader in perfRunData is nullified.
This would cause read related tasks to reopen their own reader. |
CountingSearchTestTask.java | Class | Test Search task which counts number of searches. |
CreateIndexTask.java | Class | Create an index. |
DeleteDocTask.java | Class | Delete a document by docid.
Other side effects: none.
Relevant properties: doc.delete.log.step , doc.delete.step .
If no docid param is supplied, deletes doc with id = last-deleted-doc + doc.delete.step . |
NewAnalyzerTask.java | Class | Create a new
org.apache.lucene.analysis.Analyzer and set it it in the getRunData() for use by all future tasks. |
NewRoundTask.java | Class | Increment the counter for properties maintained by Round Number. |
OpenIndexTask.java | Class | Open an index writer. |
OpenReaderTask.java | Class | Open an index reader. |
OptimizeTask.java | Class | Optimize the index. |
PerfTask.java | Class | A (abstract) task to be tested for performance.
Every performance task extends this class, and provides its own doLogic() method,
which performss the actual task.
Tasks performing some work that should be measured for the task, can overide setup() and/or tearDown() and
placed that work there. |
ReadTask.java | Class | Read index (abstract) task.
Sub classes implement withSearch(), withWarm(), withTraverse() and withRetrieve()
methods to configure the actual action.
Note: All ReadTasks reuse the reader if it is already open. |
ReadTokensTask.java | Class | Simple task to test performance of tokenizers. |
RepAllTask.java | Class | Report all statistics with no aggregations. |
ReportTask.java | Class | Report (abstract) task - all report tasks extend this task. |
RepSelectByPrefTask.java | Class | Report by-name-prefix statistics with no aggregations. |
RepSumByNameRoundTask.java | Class | Report all statistics grouped/aggregated by name and round. |
RepSumByNameTask.java | Class | Report all statistics aggregated by name. |
RepSumByPrefRoundTask.java | Class | Report all prefix matching statistics grouped/aggregated by name and round. |
RepSumByPrefTask.java | Class | Report by-name-prefix statistics aggregated by name. |
ResetInputsTask.java | Class | Reset inputs so that the test run would behave, input wise,
as if it just started. |
ResetSystemEraseTask.java | Class | Reset all index and input data and call gc, erase index and dir, does NOT clear statistics. |
ResetSystemSoftTask.java | Class | Reset all index and input data and call gc, does NOT erase index/dir, does NOT clear statistics. |
SearchTask.java | Class | Search task.
Note: This task reuses the reader if it is already open. |
SearchTravRetLoadFieldSelectorTask.java | Class | Search and Traverse and Retrieve docs task using a SetBasedFieldSelector. |
SearchTravRetTask.java | Class | Search and Traverse and Retrieve docs task.
Note: This task reuses the reader if it is already open. |
SearchTravTask.java | Class | Search and Traverse task.
Note: This task reuses the reader if it is already open. |
SetPropTask.java | Class | Set a performance test configuration property.
A property may have a single value, or a sequence of values, seprated by ":". |
TaskSequence.java | Class | Sequence of parallel or sequential tasks. |
WarmTask.java | Class | Warm reader task: retrieve all reader documents.
Note: This task reuses the reader if it is already open. |
WriteLineDocTask.java | Class | |