Class QueryDriver
Command-line tool for doing a TREC evaluation run.
LUCENENET specific: In the Java implementation, this class' Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to that method: benchmark run-trec-evalInherited Members
Namespace: Lucene.Net.Benchmarks.Quality.Trec
Assembly: Lucene.Net.Benchmark.dll
Syntax
public static class QueryDriver
Methods
Main(string[])
LUCENENET specific: In the Java implementation, this Main method was intended to be called from the command line. However, in .NET a method within a DLL can't be directly called from the command line so we provide a .NET tool, lucene-cli, with a command that maps to this method: benchmark run-trec-eval
Declaration
public static void Main(string[] args)
Parameters
Type | Name | Description |
---|---|---|
string[] | args | Must contain 4 or 5 values |
Exceptions
Type | Condition |
---|---|
ArgumentException | Thrown if the incorrect number of arguments are provided. |