DotLucene 1.4 API Documentation |

# QueryParser.GetFieldQuery Method

Note that parameter analyzer is ignored. Calls inside the parser always use class member analyser. This method will be deprecated and substituted by {@link .GetFieldQuery(String, String)} in future versions of Lucene. Currently overwriting either of these methods works.

#### Overload List

Note that parameter analyzer is ignored. Calls inside the parser always use class member analyser. This method will be deprecated and substituted by {@link .GetFieldQuery(String, String)} in future versions of Lucene. Currently overwriting either of these methods works.

> protected internal virtual Query GetFieldQuery(string,Analyzer,string);

Base implementation delegates to {@link .GetFieldQuery(String, Analyzer, String)}. This method may be overwritten, for example, to return a SpanNearQuery instead of a PhraseQuery. Note that parameter analyzer is ignored. Calls inside the parser always use class member analyser. This method will be deprecated and substituted by {@link .GetFieldQuery(String, String, int)} in future versions of Lucene. Currently overwriting either of these methods works.

> protected internal virtual Query GetFieldQuery(string,Analyzer,string,int);

> protected internal virtual Query GetFieldQuery(string,string);

Base implementation delegates to {@link .GetFieldQuery(String,String)}. This method may be overridden, for example, to return a SpanNearQuery instead of a PhraseQuery.

> protected internal virtual Query GetFieldQuery(string,string,int);

#### See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace