Constructor SimpleQueryParser
SimpleQueryParser(Analyzer, String)
Creates a new parser searching over a single field.
Declaration
public SimpleQueryParser(Analyzer analyzer, string field)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer | |
System.String | field |
SimpleQueryParser(Analyzer, IDictionary<String, Single>)
Creates a new parser searching over multiple fields with different weights.
Declaration
public SimpleQueryParser(Analyzer analyzer, IDictionary<string, float> weights)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer | |
System.Collections.Generic.IDictionary<System.String, System.Single> | weights |
SimpleQueryParser(Analyzer, IDictionary<String, Single>, Operator)
Creates a new parser with custom flags used to enable/disable certain features.
Declaration
public SimpleQueryParser(Analyzer analyzer, IDictionary<string, float> weights, Operator flags)
Parameters
Type | Name | Description |
---|---|---|
Analyzer | analyzer | |
System.Collections.Generic.IDictionary<System.String, System.Single> | weights | |
Operator | flags |