Apache Lucene.Net 2.1 Class Library API

QueryParser.GetFieldQuery Method (String, String, Int32)

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 field,
   string queryText,
   int slop
);

Exceptions

Exception Type Condition
ParseException throw in overridden method to disallow

See Also

QueryParser Class | Lucene.Net.QueryParsers Namespace | QueryParser.GetFieldQuery Overload List