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.
Exception Type | Condition |
---|---|
ParseException throw in overridden method to disallow |
QueryParser Class | Lucene.Net.QueryParsers Namespace | QueryParser.GetFieldQuery Overload List