C# Class Lucene.Net.QueryParsers.Xml.Builders.UserInputQueryBuilder

UserInputQueryBuilder uses 1 of 2 strategies for thread-safe parsing: 1) Synchronizing access to "Parse" calls on a previously supplied QueryParser or.. 2) creating a new QueryParser object for each parse request
Inheritance: IQueryBuilder
Afficher le fichier Open project: apache/lucenenet

Méthodes publiques

Méthode Description
GetQuery ( XmlElement e ) : Query

(non-Javadoc) @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element)

UserInputQueryBuilder ( QueryParser parser ) : Lucene.Net.Analysis

This constructor has the disadvantage of not being able to change choice of default field name

UserInputQueryBuilder ( string defaultField, Analyzer analyzer ) : Lucene.Net.Analysis

Méthodes protégées

Méthode Description
CreateQueryParser ( string fieldName, Analyzer analyzer ) : QueryParser

Method to create a QueryParser - designed to be overridden

Method Details

CreateQueryParser() protected méthode

Method to create a QueryParser - designed to be overridden
protected CreateQueryParser ( string fieldName, Analyzer analyzer ) : QueryParser
fieldName string
analyzer Lucene.Net.Analysis.Analyzer
Résultat Lucene.Net.QueryParsers.Classic.QueryParser

GetQuery() public méthode

(non-Javadoc) @see org.apache.lucene.xmlparser.QueryObjectBuilder#process(org.w3c.dom.Element)
public GetQuery ( XmlElement e ) : Query
e System.Xml.XmlElement
Résultat Lucene.Net.Search.Query

UserInputQueryBuilder() public méthode

This constructor has the disadvantage of not being able to change choice of default field name
public UserInputQueryBuilder ( QueryParser parser ) : Lucene.Net.Analysis
parser Lucene.Net.QueryParsers.Classic.QueryParser thread un-safe query parser
Résultat Lucene.Net.Analysis

UserInputQueryBuilder() public méthode

public UserInputQueryBuilder ( string defaultField, Analyzer analyzer ) : Lucene.Net.Analysis
defaultField string
analyzer Lucene.Net.Analysis.Analyzer
Résultat Lucene.Net.Analysis