Interface IQueryMaker
Create queries for the test.
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public interface IQueryMaker
Methods
MakeQuery()
Create the next query
Declaration
Query MakeQuery()
Returns
| Type | Description |
|---|---|
| Query |
MakeQuery(int)
Create the next query, of the given size.
Declaration
Query MakeQuery(int size)
Parameters
| Type | Name | Description |
|---|---|---|
| int | size | The size of the query - number of terms, etc. |
Returns
| Type | Description |
|---|---|
| Query |
Exceptions
| Type | Condition |
|---|---|
| Exception | If cannot make the query, or if size > 0 was specified but this feature is not supported. |
PrintQueries()
Print the queries
Declaration
string PrintQueries()
Returns
| Type | Description |
|---|---|
| string |
ResetInputs()
Reset inputs so that the test run would behave, input wise, as if it just started.
Declaration
void ResetInputs()
SetConfig(Config)
Set the properties
Declaration
void SetConfig(Config config)
Parameters
| Type | Name | Description |
|---|---|---|
| Config | config |