Interface IQueryMaker
Create queries for the test.
Namespace: Lucene.Net.Benchmarks.ByTask.Feeds
Assembly: Lucene.Net.Benchmark.dll
Syntax
public interface IQueryMaker
  Methods
| Improve this Doc View SourceMakeQuery()
Create the next query
Declaration
Query MakeQuery()
  Returns
| Type | Description | 
|---|---|
| Query | 
MakeQuery(Int32)
Create the next query, of the given size.
Declaration
Query MakeQuery(int size)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | size | The size of the query - number of terms, etc.  | 
      
Returns
| Type | Description | 
|---|---|
| Query | 
Exceptions
| Type | Condition | 
|---|---|
| System.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 | 
|---|---|
| System.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 |