blob: 89982a1f07c1f55c8df65712cfcae9b65849e5e4 [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class QueryParserBase
| Apache Lucene.NET 4.8.0-beta00013 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class QueryParserBase
| Apache Lucene.NET 4.8.0-beta00013 Documentation ">
<meta name="generator" content="docfx 2.56.2.0">
<link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css">
<meta property="docfx:navrel" content="toc.html">
<meta property="docfx:tocrel" content="queryparser/toc.html">
<meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<span id="forkongithub"><a href="https://github.com/apache/lucenenet" target="_blank">Fork me on GitHub</a></span>
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search">
<ul class="level0 breadcrumb">
<li>
<a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</span>
</li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase">
<h1 id="Lucene_Net_QueryParsers_Classic_QueryParserBase" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase" class="text-break">Class QueryParserBase
</h1>
<div class="markdown level0 summary"><p>This class is overridden by <a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html">QueryParser</a>.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">Lucene.Net.Util.QueryBuilder</span></div>
<div class="level2"><span class="xref">QueryParserBase</span></div>
<div class="level3"><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html">QueryParser</a></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><a class="xref" href="Lucene.Net.QueryParsers.Flexible.Standard.ICommonQueryParserConfiguration.html">ICommonQueryParserConfiguration</a></div>
</div>
<div class="inheritedMembers">
<h5>Inherited Members</h5>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreateBooleanQuery_System_String_System_String_">QueryBuilder.CreateBooleanQuery(String, String)</a>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreateBooleanQuery_System_String_System_String_Lucene_Net_Search_Occur_">QueryBuilder.CreateBooleanQuery(String, String, Occur)</a>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreatePhraseQuery_System_String_System_String_">QueryBuilder.CreatePhraseQuery(String, String)</a>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreatePhraseQuery_System_String_System_String_System_Int32_">QueryBuilder.CreatePhraseQuery(String, String, Int32)</a>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreateMinShouldMatchQuery_System_String_System_String_System_Single_">QueryBuilder.CreateMinShouldMatchQuery(String, String, Single)</a>
</div>
<div>
<span class="xref">Lucene.Net.Util.QueryBuilder.Analyzer</span>
</div>
<div>
<span class="xref">Lucene.Net.Util.QueryBuilder.EnablePositionIncrements</span>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_CreateFieldQuery_Lucene_Net_Analysis_Analyzer_Lucene_Net_Search_Occur_System_String_System_String_System_Boolean_System_Int32_">QueryBuilder.CreateFieldQuery(Analyzer, Occur, String, String, Boolean, Int32)</a>
</div>
<div>
<a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Util.QueryBuilder.html#Lucene_Net_Util_QueryBuilder_NewBooleanQuery_System_Boolean_">QueryBuilder.NewBooleanQuery(Boolean)</a>
</div>
<div>
<span class="xref">Lucene.Net.Util.QueryBuilder.NewTermQuery(Lucene.Net.Index.Term)</span>
</div>
<div>
<span class="xref">Lucene.Net.Util.QueryBuilder.NewPhraseQuery()</span>
</div>
<div>
<span class="xref">Lucene.Net.Util.QueryBuilder.NewMultiPhraseQuery()</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object)</span>
</div>
<div>
<span class="xref">System.Object.Equals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.GetHashCode()</span>
</div>
<div>
<span class="xref">System.Object.GetType()</span>
</div>
<div>
<span class="xref">System.Object.MemberwiseClone()</span>
</div>
<div>
<span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span>
</div>
<div>
<span class="xref">System.Object.ToString()</span>
</div>
</div>
<h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.QueryParsers.Classic.html">Lucene.Net.QueryParsers.Classic</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.QueryParser.dll</h6>
<h5 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract class QueryParserBase : QueryBuilder, ICommonQueryParserConfiguration</code></pre>
</div>
<h3 id="constructors">Constructors
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase__ctor.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L140">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase__ctor_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.#ctor*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase__ctor" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.#ctor">QueryParserBase()</h4>
<div class="markdown level1 summary"><p>So the generated QueryParser(CharStream) won&apos;t error out</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected QueryParserBase()</code></pre>
</div>
<h3 id="fields">Fields
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AND_OPERATOR.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AND_OPERATOR%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L97">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AND_OPERATOR" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AND_OPERATOR">AND_OPERATOR</h4>
<div class="markdown level1 summary"><p>Alternative form of <a class="xref" href="Lucene.Net.QueryParsers.Classic.Operator.html#Lucene_Net_QueryParsers_Classic_Operator_AND">AND</a> </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const Operator AND_OPERATOR = Operator.AND</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.Operator.html">Operator</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_AND.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_AND%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L83">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_AND" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_AND">CONJ_AND</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int CONJ_AND = 1</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_NONE.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_NONE%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L82">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_NONE" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_NONE">CONJ_NONE</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int CONJ_NONE = 0</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_OR.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_OR%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L84">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_OR" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.CONJ_OR">CONJ_OR</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int CONJ_OR = 2</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_m_field.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.m_field%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L113">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_m_field" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.m_field">m_field</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected string m_field</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NONE.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_NONE%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L86">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NONE" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_NONE">MOD_NONE</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int MOD_NONE = 0</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NOT.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_NOT%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L87">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NOT" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_NOT">MOD_NOT</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int MOD_NOT = 10</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_REQ.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_REQ%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L88">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_REQ" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.MOD_REQ">MOD_REQ</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected const int MOD_REQ = 11</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_OR_OPERATOR.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.OR_OPERATOR%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L101">View Source</a>
</span>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_OR_OPERATOR" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.OR_OPERATOR">OR_OPERATOR</h4>
<div class="markdown level1 summary"><p>Alternative form of <a class="xref" href="Lucene.Net.QueryParsers.Classic.Operator.html#Lucene_Net_QueryParsers_Classic_Operator_OR">OR</a> </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public const Operator OR_OPERATOR = Operator.OR</code></pre>
</div>
<h5 class="fieldValue">Field Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.Operator.html">Operator</a></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="properties">Properties
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AllowLeadingWildcard.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AllowLeadingWildcard%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L255">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AllowLeadingWildcard_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AllowLeadingWildcard*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AllowLeadingWildcard" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AllowLeadingWildcard">AllowLeadingWildcard</h4>
<div class="markdown level1 summary"><p>Set to <code>true</code> to allow leading wildcard characters.
<p>
When set, <code>*</code> or <code>?</code> are allowed as
the first character of a PrefixQuery and WildcardQuery.
Note that this can produce very slow
queries on big indexes.
<p>
Default: false.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool AllowLeadingWildcard { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeRangeTerms.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeRangeTerms%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L378">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeRangeTerms_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeRangeTerms*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeRangeTerms" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeRangeTerms">AnalyzeRangeTerms</h4>
<div class="markdown level1 summary"><p>Get or Set whether or not to analyze range terms when constructing <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.TermRangeQuery.html">TermRangeQuery</a>s.
For example, setting this to true can enable analyzing terms into
collation keys for locale-sensitive <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.TermRangeQuery.html">TermRangeQuery</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool AnalyzeRangeTerms { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AutoGeneratePhraseQueries.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AutoGeneratePhraseQueries%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L224">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AutoGeneratePhraseQueries_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AutoGeneratePhraseQueries*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AutoGeneratePhraseQueries" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AutoGeneratePhraseQueries">AutoGeneratePhraseQueries</h4>
<div class="markdown level1 summary"><p>Set to true if phrase queries will be automatically generated
when the analyzer returns more than one term from whitespace
delimited text.
NOTE: this behavior may not be suitable for all languages.
<p>
Set to false if phrase queries should only be generated when
surrounded by double quotes.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool AutoGeneratePhraseQueries { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_DefaultOperator.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.DefaultOperator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L266">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_DefaultOperator_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.DefaultOperator*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_DefaultOperator" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.DefaultOperator">DefaultOperator</h4>
<div class="markdown level1 summary"><p>Gets or Sets the boolean operator of the QueryParser.
In default mode (<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_OR_OPERATOR">OR_OPERATOR</a>) terms without any modifiers
are considered optional: for example <code>capital of Hungary</code> is equal to
<code>capital OR of OR Hungary</code>.
<p>
In <a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AND_OPERATOR">AND_OPERATOR</a> mode terms are considered to be in conjunction: the
above mentioned query is parsed as <code>capital AND of AND Hungary</code></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual Operator DefaultOperator { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.Operator.html">Operator</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_Field.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.Field%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L213">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Field_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Field*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Field" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Field">Field</h4>
<div class="markdown level1 summary"><p>Returns the default field.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual string Field { get; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyMinSim.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyMinSim%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L230">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyMinSim_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyMinSim*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyMinSim" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyMinSim">FuzzyMinSim</h4>
<div class="markdown level1 summary"><p>Get or Set the minimum similarity for fuzzy queries.
Default is 2f.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual float FuzzyMinSim { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Single</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyPrefixLength.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyPrefixLength%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L236">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyPrefixLength_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyPrefixLength*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyPrefixLength" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.FuzzyPrefixLength">FuzzyPrefixLength</h4>
<div class="markdown level1 summary"><p>Get or Set the prefix length for fuzzy queries.
Default is 0.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual int FuzzyPrefixLength { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_Locale.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.Locale%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L295">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Locale_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Locale*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Locale" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Locale">Locale</h4>
<div class="markdown level1 summary"><p>Get or Set locale used by date range parsing, lowercasing, and other
locale-sensitive operations.
<p>
By default, the culture is <code>null</code>, which indicates to read the culture on the fly
from <span class="xref">System.Globalization.CultureInfo.CurrentCulture</span>. This ensures if you change the culture on
the current thread, QueryParser will utilize it. You can also explicitly set a culture.
Setting the culture to <code>null</code> will restore the default behavior if you have explicitly set a culture.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual CultureInfo Locale { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Globalization.CultureInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_LowercaseExpandedTerms.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.LowercaseExpandedTerms%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L272">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_LowercaseExpandedTerms_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.LowercaseExpandedTerms*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_LowercaseExpandedTerms" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.LowercaseExpandedTerms">LowercaseExpandedTerms</h4>
<div class="markdown level1 summary"><p>Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not. Default is <code>true</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual bool LowercaseExpandedTerms { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_MultiTermRewriteMethod.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.MultiTermRewriteMethod%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L284">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_MultiTermRewriteMethod_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.MultiTermRewriteMethod*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_MultiTermRewriteMethod" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.MultiTermRewriteMethod">MultiTermRewriteMethod</h4>
<div class="markdown level1 summary"><p>By default QueryParser uses <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.MultiTermQuery.html#Lucene_Net_Search_MultiTermQuery_CONSTANT_SCORE_AUTO_REWRITE_DEFAULT">CONSTANT_SCORE_AUTO_REWRITE_DEFAULT</a>
when creating a <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.PrefixQuery.html">PrefixQuery</a>, <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.WildcardQuery.html">WildcardQuery</a> or <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.TermRangeQuery.html">TermRangeQuery</a>. This implementation is generally preferable because it
a) Runs faster b) Does not have the scarcity of terms unduly influence score
c) avoids any <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.BooleanQuery.TooManyClausesException.html">BooleanQuery.TooManyClausesException</a> exception.
However, if your application really needs to use the
old-fashioned <span class="xref">Lucene.Net.Search.BooleanQuery</span> expansion rewriting and the above
points are not relevant then use this to change
the rewrite method.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual MultiTermQuery.RewriteMethod MultiTermRewriteMethod { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.MultiTermQuery.RewriteMethod</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_PhraseSlop.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.PhraseSlop%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L243">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_PhraseSlop_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.PhraseSlop*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_PhraseSlop" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.PhraseSlop">PhraseSlop</h4>
<div class="markdown level1 summary"><p>Gets or Sets the default slop for phrases.
If zero, then exact phrase matches are required.
Default value is zero.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual int PhraseSlop { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Int32</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_TimeZone.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.TimeZone%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L309">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_TimeZone_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.TimeZone*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_TimeZone" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.TimeZone">TimeZone</h4>
<div class="markdown level1 summary"><p>Get or Set the current time zone for date and time parsing operations.
<p>
By default, the time zone is <code>null</code>, which indicates to read the time zone on the fly
from <span class="xref">System.TimeZoneInfo.Local</span>. This ensures if you change the time zone on
the current system, QueryParser will utilize it. You can also explicitly set a time zone.
Setting the time zone to <code>null</code> will restore the default behavior if you have explicitly set a time zone.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual TimeZoneInfo TimeZone { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.TimeZoneInfo</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AddClause_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Int32_System_Int32_Lucene_Net_Search_Query_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AddClause(System.Collections.Generic.IList%7BLucene.Net.Search.BooleanClause%7D%2CSystem.Int32%2CSystem.Int32%2CLucene.Net.Search.Query)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L384">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AddClause_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AddClause*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AddClause_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Int32_System_Int32_Lucene_Net_Search_Query_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AddClause(System.Collections.Generic.IList{Lucene.Net.Search.BooleanClause},System.Int32,System.Int32,Lucene.Net.Search.Query)">AddClause(IList&lt;BooleanClause&gt;, Int32, Int32, Query)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual void AddClause(IList&lt;BooleanClause&gt; clauses, int conj, int mods, Query q)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IList</span>&lt;<span class="xref">Lucene.Net.Search.BooleanClause</span>&gt;</td>
<td><span class="parametername">clauses</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">conj</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">mods</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><span class="parametername">q</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeMultitermTerm_System_String_System_String_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeMultitermTerm(System.String%2CSystem.String%2CLucene.Net.Analysis.Analyzer)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L596">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeMultitermTerm_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeMultitermTerm*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeMultitermTerm_System_String_System_String_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.AnalyzeMultitermTerm(System.String,System.String,Lucene.Net.Analysis.Analyzer)">AnalyzeMultitermTerm(String, String, Analyzer)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual BytesRef AnalyzeMultitermTerm(string field, string part, Analyzer analyzerIn)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">part</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">analyzerIn</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Util.BytesRef</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_Escape_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.Escape(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L1070">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Escape_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Escape*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Escape_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Escape(System.String)">Escape(String)</h4>
<div class="markdown level1 summary"><p>Returns a string where those characters that QueryParser
expects to be escaped are escaped by a preceding <pre><code>\</code></pre>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static string Escape(string s)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">s</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery(System.Collections.Generic.IList%7BLucene.Net.Search.BooleanClause%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L697">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery(System.Collections.Generic.IList{Lucene.Net.Search.BooleanClause})">GetBooleanQuery(IList&lt;BooleanClause&gt;)</h4>
<div class="markdown level1 summary"><p>Factory method for generating query, given a set of clauses.
By default creates a boolean query composed of clauses passed in.
<p>
Can be overridden by extending classes, to modify query being
returned.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetBooleanQuery(IList&lt;BooleanClause&gt; clauses)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IList</span>&lt;<span class="xref">Lucene.Net.Search.BooleanClause</span>&gt;</td>
<td><span class="parametername">clauses</span></td>
<td><p>List that contains <span class="xref">Lucene.Net.Search.BooleanClause</span> instances
to join.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> object.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery(System.Collections.Generic.IList%7BLucene.Net.Search.BooleanClause%7D%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L714">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Boolean_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetBooleanQuery(System.Collections.Generic.IList{Lucene.Net.Search.BooleanClause},System.Boolean)">GetBooleanQuery(IList&lt;BooleanClause&gt;, Boolean)</h4>
<div class="markdown level1 summary"><p>Factory method for generating query, given a set of clauses.
By default creates a boolean query composed of clauses passed in.
<p>
Can be overridden by extending classes, to modify query being
returned.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetBooleanQuery(IList&lt;BooleanClause&gt; clauses, bool disableCoord)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IList</span>&lt;<span class="xref">Lucene.Net.Search.BooleanClause</span>&gt;</td>
<td><span class="parametername">clauses</span></td>
<td><p>List that contains <span class="xref">Lucene.Net.Search.BooleanClause</span> instances
to join.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">disableCoord</span></td>
<td><p>true if coord scoring should be disabled.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> object.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetDateResolution_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetDateResolution(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L351">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetDateResolution_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetDateResolution*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetDateResolution_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetDateResolution(System.String)">GetDateResolution(String)</h4>
<div class="markdown level1 summary"><p>Returns the date resolution that is used by RangeQueries for the given field.
Returns null, if no default or field specific date resolution has been set
for the given field.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual DateTools.Resolution GetDateResolution(string fieldName)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.DateTools.Resolution</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery(System.String%2CSystem.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L442">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Boolean_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery(System.String,System.String,System.Boolean)">GetFieldQuery(String, String, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetFieldQuery(string field, string queryText, bool quoted)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">queryText</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">quoted</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery(System.String%2CSystem.String%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L460">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Int32_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFieldQuery(System.String,System.String,System.Int32)">GetFieldQuery(String, String, Int32)</h4>
<div class="markdown level1 summary"><p>Base implementation delegates to <a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Boolean_">GetFieldQuery(String, String, Boolean)</a>.
This method may be overridden, for example, to return
a <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.Spans.SpanNearQuery.html">SpanNearQuery</a> instead of a <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.PhraseQuery.html">PhraseQuery</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetFieldQuery(string field, string queryText, int slop)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">queryText</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">slop</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFuzzyQuery_System_String_System_String_System_Single_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFuzzyQuery(System.String%2CSystem.String%2CSystem.Single)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L833">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFuzzyQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFuzzyQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFuzzyQuery_System_String_System_String_System_Single_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetFuzzyQuery(System.String,System.String,System.Single)">GetFuzzyQuery(String, String, Single)</h4>
<div class="markdown level1 summary"><p>Factory method for generating a query (similar to
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_System_String_System_String_">GetWildcardQuery(String, String)</a>). Called when parser parses
an input term token that has the fuzzy suffix (~) appended.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetFuzzyQuery(string field, string termStr, float minSimilarity)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td><p>Name of the field query will use.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">termStr</span></td>
<td><p>Term token to use for building term for the query</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">minSimilarity</span></td>
<td><p>minimum similarity</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> built for the term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetPrefixQuery_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetPrefixQuery(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L811">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetPrefixQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetPrefixQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetPrefixQuery_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetPrefixQuery(System.String,System.String)">GetPrefixQuery(String, String)</h4>
<div class="markdown level1 summary"><p>Factory method for generating a query (similar to
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_System_String_System_String_">GetWildcardQuery(String, String)</a>). Called when parser parses an input term
token that uses prefix notation; that is, contains a single &apos;*&apos; wildcard
character as its last character. Since this is a special case
of generic wildcard term, and such a query can be optimized easily,
this usually results in a different query object.
<p>
Depending on settings, a prefix term may be lower-cased
automatically. It will not go through the default Analyzer,
however, since normal Analyzers are unlikely to work properly
with wildcard templates.
<p>
Can be overridden by extending classes, to provide custom handling for
wild card queries, which may be necessary due to missing analyzer calls.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetPrefixQuery(string field, string termStr)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td><p>Name of the field query will use.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">termStr</span></td>
<td><p>Term token to use for building term for the query</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> built for the term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRangeQuery(System.String%2CSystem.String%2CSystem.String%2CSystem.Boolean%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L476">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRangeQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRangeQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRangeQuery(System.String,System.String,System.String,System.Boolean,System.Boolean)">GetRangeQuery(String, String, String, Boolean, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetRangeQuery(string field, string part1, string part2, bool startInclusive, bool endInclusive)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">part1</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">part2</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">startInclusive</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">endInclusive</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRegexpQuery_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRegexpQuery(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L781">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRegexpQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRegexpQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRegexpQuery_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetRegexpQuery(System.String,System.String)">GetRegexpQuery(String, String)</h4>
<div class="markdown level1 summary"><p>Factory method for generating a query. Called when parser
parses an input term token that contains a regular expression
query.
<p>
Depending on settings, pattern term may be lower-cased
automatically. It will not go through the default Analyzer,
however, since normal Analyzers are unlikely to work properly
with regular expression templates.
<p>
Can be overridden by extending classes, to provide custom handling for
regular expression queries, which may be necessary due to missing analyzer
calls.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetRegexpQuery(string field, string termStr)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td><p>Name of the field query will use.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">termStr</span></td>
<td><p>Term token that contains a regular expression</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> built for the term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.GetWildcardQuery(System.String%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L747">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetWildcardQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.GetWildcardQuery(System.String,System.String)">GetWildcardQuery(String, String)</h4>
<div class="markdown level1 summary"><p>Factory method for generating a query. Called when parser
parses an input term token that contains one or more wildcard
characters (? and *), but is not a prefix term token (one
that has just a single * character at the end)
<p>
Depending on settings, prefix term may be lower-cased
automatically. It will not go through the default Analyzer,
however, since normal Analyzers are unlikely to work properly
with wildcard templates.
<p>
Can be overridden by extending classes, to provide custom handling for
wildcard queries, which may be necessary due to missing analyzer calls.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query GetWildcardQuery(string field, string termStr)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td><p>Name of the field query will use.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">termStr</span></td>
<td><p>Term token that contains one or more wild card
characters (? or *), but is not simple prefix term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>Resulting <span class="xref">Lucene.Net.Search.Query</span> built for the term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_Init_Lucene_Net_Util_LuceneVersion_System_String_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.Init(Lucene.Net.Util.LuceneVersion%2CSystem.String%2CLucene.Net.Analysis.Analyzer)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L162">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Init_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Init*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Init_Lucene_Net_Util_LuceneVersion_System_String_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Init(Lucene.Net.Util.LuceneVersion,System.String,Lucene.Net.Analysis.Analyzer)">Init(LuceneVersion, String, Analyzer)</h4>
<div class="markdown level1 summary"><p>Initializes a query parser. Called by the QueryParser constructor</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void Init(LuceneVersion matchVersion, string f, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Util.LuceneVersion</span></td>
<td><span class="parametername">matchVersion</span></td>
<td><p>Lucene version to match.</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">f</span></td>
<td><p>the default field for query terms.</p>
</td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">a</span></td>
<td><p>used to find terms in the query text.</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewBooleanClause_Lucene_Net_Search_Query_Lucene_Net_Search_Occur_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewBooleanClause(Lucene.Net.Search.Query%2CLucene.Net.Search.Occur)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L543">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewBooleanClause_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewBooleanClause*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewBooleanClause_Lucene_Net_Search_Query_Lucene_Net_Search_Occur_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewBooleanClause(Lucene.Net.Search.Query,Lucene.Net.Search.Occur)">NewBooleanClause(Query, Occur)</h4>
<div class="markdown level1 summary"><p>Builds a new <span class="xref">Lucene.Net.Search.BooleanClause</span> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual BooleanClause NewBooleanClause(Query q, Occur occur)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><span class="parametername">q</span></td>
<td><p>sub query</p>
</td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Search.Occur</span></td>
<td><span class="parametername">occur</span></td>
<td><p>how this clause should occur when matching documents</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.BooleanClause</span></td>
<td><p>new <span class="xref">Lucene.Net.Search.BooleanClause</span> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFieldQuery_Lucene_Net_Analysis_Analyzer_System_String_System_String_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFieldQuery(Lucene.Net.Analysis.Analyzer%2CSystem.String%2CSystem.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L448">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFieldQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFieldQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFieldQuery_Lucene_Net_Analysis_Analyzer_System_String_System_String_System_Boolean_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFieldQuery(Lucene.Net.Analysis.Analyzer,System.String,System.String,System.Boolean)">NewFieldQuery(Analyzer, String, String, Boolean)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewFieldQuery(Analyzer analyzer, string field, string queryText, bool quoted)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">analyzer</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">queryText</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">quoted</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>throw in overridden method to disallow</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFuzzyQuery_Lucene_Net_Index_Term_System_Single_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFuzzyQuery(Lucene.Net.Index.Term%2CSystem.Single%2CSystem.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L579">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFuzzyQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFuzzyQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFuzzyQuery_Lucene_Net_Index_Term_System_Single_System_Int32_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewFuzzyQuery(Lucene.Net.Index.Term,System.Single,System.Int32)">NewFuzzyQuery(Term, Single, Int32)</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.FuzzyQuery.html">FuzzyQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewFuzzyQuery(Term term, float minimumSimilarity, int prefixLength)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">term</span></td>
<td><p>Term</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Single</span></td>
<td><span class="parametername">minimumSimilarity</span></td>
<td><p>minimum similarity</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Int32</span></td>
<td><span class="parametername">prefixLength</span></td>
<td><p>prefix length</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.FuzzyQuery.html">FuzzyQuery</a> Instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewMatchAllDocsQuery.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewMatchAllDocsQuery%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L669">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewMatchAllDocsQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewMatchAllDocsQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewMatchAllDocsQuery" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewMatchAllDocsQuery">NewMatchAllDocsQuery()</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.MatchAllDocsQuery.html">MatchAllDocsQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewMatchAllDocsQuery()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.MatchAllDocsQuery.html">MatchAllDocsQuery</a> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewPrefixQuery_Lucene_Net_Index_Term_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewPrefixQuery(Lucene.Net.Index.Term)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L553">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewPrefixQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewPrefixQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewPrefixQuery_Lucene_Net_Index_Term_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewPrefixQuery(Lucene.Net.Index.Term)">NewPrefixQuery(Term)</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.PrefixQuery.html">PrefixQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewPrefixQuery(Term prefix)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">prefix</span></td>
<td><p>Prefix term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.PrefixQuery.html">PrefixQuery</a> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRangeQuery(System.String%2CSystem.String%2CSystem.String%2CSystem.Boolean%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L636">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRangeQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRangeQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRangeQuery(System.String,System.String,System.String,System.Boolean,System.Boolean)">NewRangeQuery(String, String, String, Boolean, Boolean)</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.TermRangeQuery.html">TermRangeQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewRangeQuery(string field, string part1, string part2, bool startInclusive, bool endInclusive)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td><p>Field</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">part1</span></td>
<td><p>min</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">part2</span></td>
<td><p>max</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">startInclusive</span></td>
<td><p>true if the start of the range is inclusive</p>
</td>
</tr>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td><span class="parametername">endInclusive</span></td>
<td><p>true if the end of the range is inclusive</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.TermRangeQuery.html">TermRangeQuery</a> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRegexpQuery_Lucene_Net_Index_Term_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRegexpQuery(Lucene.Net.Index.Term)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L565">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRegexpQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRegexpQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRegexpQuery_Lucene_Net_Index_Term_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewRegexpQuery(Lucene.Net.Index.Term)">NewRegexpQuery(Term)</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.RegexpQuery.html">RegexpQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewRegexpQuery(Term regexp)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">regexp</span></td>
<td><p>Regexp term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.RegexpQuery.html">RegexpQuery</a> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_NewWildcardQuery_Lucene_Net_Index_Term_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.NewWildcardQuery(Lucene.Net.Index.Term)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L679">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewWildcardQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewWildcardQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_NewWildcardQuery_Lucene_Net_Index_Term_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.NewWildcardQuery(Lucene.Net.Index.Term)">NewWildcardQuery(Term)</h4>
<div class="markdown level1 summary"><p>Builds a new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.WildcardQuery.html">WildcardQuery</a> instance</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual Query NewWildcardQuery(Term t)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">t</span></td>
<td><p>wildcard term</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><p>new <a class="xref" href="https://lucenenet.apache.org/docs/4.8.0-beta00013/api/core/Lucene.Net.Search.WildcardQuery.html">WildcardQuery</a> instance</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_Parse_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.Parse(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L187">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Parse_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Parse*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_Parse_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.Parse(System.String)">Parse(String)</h4>
<div class="markdown level1 summary"><p>Parses a query string, returning a <span class="xref">Lucene.Net.Search.Query</span>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual Query Parse(string query)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">query</span></td>
<td><p>the query string to be parsed.</p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="exceptions">Exceptions</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Condition</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ParseException.html">ParseException</a></td>
<td><p>if the parsing fails</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_ReInit_Lucene_Net_QueryParsers_Classic_ICharStream_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.ReInit(Lucene.Net.QueryParsers.Classic.ICharStream)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L179">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_ReInit_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.ReInit*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_ReInit_Lucene_Net_QueryParsers_Classic_ICharStream_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.ReInit(Lucene.Net.QueryParsers.Classic.ICharStream)">ReInit(ICharStream)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract void ReInit(ICharStream stream)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><a class="xref" href="Lucene.Net.QueryParsers.Classic.ICharStream.html">ICharStream</a></td>
<td><span class="parametername">stream</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_Lucene_Net_Documents_DateTools_Resolution_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution(Lucene.Net.Documents.DateTools.Resolution)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L320">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_Lucene_Net_Documents_DateTools_Resolution_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution(Lucene.Net.Documents.DateTools.Resolution)">SetDateResolution(DateTools.Resolution)</h4>
<div class="markdown level1 summary"><p>Gets or Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set. Field specific resolutions can be set
with <a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_System_String_Lucene_Net_Documents_DateTools_Resolution_">SetDateResolution(String, DateTools.Resolution)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void SetDateResolution(DateTools.Resolution dateResolution)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Documents.DateTools.Resolution</span></td>
<td><span class="parametername">dateResolution</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_System_String_Lucene_Net_Documents_DateTools_Resolution_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution(System.String%2CLucene.Net.Documents.DateTools.Resolution)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L330">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_System_String_Lucene_Net_Documents_DateTools_Resolution_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.SetDateResolution(System.String,Lucene.Net.Documents.DateTools.Resolution)">SetDateResolution(String, DateTools.Resolution)</h4>
<div class="markdown level1 summary"><p>Sets the date resolution used by RangeQueries for a specific field.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void SetDateResolution(string fieldName, DateTools.Resolution dateResolution)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">fieldName</span></td>
<td><p>field for which the date resolution is to be set</p>
</td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Documents.DateTools.Resolution</span></td>
<td><span class="parametername">dateResolution</span></td>
<td><p>date resolution to set</p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase_TopLevelQuery_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase.TopLevelQuery(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L180">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Classic_QueryParserBase_TopLevelQuery_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.TopLevelQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Classic_QueryParserBase_TopLevelQuery_System_String_" data-uid="Lucene.Net.QueryParsers.Classic.QueryParserBase.TopLevelQuery(System.String)">TopLevelQuery(String)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public abstract Query TopLevelQuery(string field)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Flexible.Standard.ICommonQueryParserConfiguration.html">ICommonQueryParserConfiguration</a>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_QueryParsers_Classic_QueryParserBase.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Classic.QueryParserBase%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/apache/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.QueryParser/Classic/QueryParserBase.cs/#L54" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
Copyright © 2020 The Apache Software Foundation, Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache License, Version 2.0</a><br> <small>Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation. <br>All other marks mentioned may be trademarks or registered trademarks of their respective owners.</small>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script>
</body>
</html>