blob: 511c5422626caf1695dd180dcb8c662e931cdb52 [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 AnalyzingQueryParser
| Apache Lucene.NET 4.8.0-beta00013 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class AnalyzingQueryParser
| 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.Analyzing.AnalyzingQueryParser">
<h1 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser" class="text-break">Class AnalyzingQueryParser
</h1>
<div class="markdown level0 summary"><p>Overrides Lucene&apos;s default <a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html">QueryParser</a> so that Fuzzy-, Prefix-, Range-, and WildcardQuerys
are also passed through the given analyzer, but wildcard characters <code>*</code> and
<code>?</code> don&apos;t get removed from the search terms.
<p>
<strong>Warning:</strong> This class should only be used with analyzers that do not use stopwords
or that add tokens. Also, several stemming analyzers are inappropriate: for example, <span class="xref">Lucene.Net.Analysis.De.GermanAnalyzer</span><br>will turn <code>Häuser</code> into <code>hau</code>, but <code>H?user</code> will
become <code>h?user</code> when using this parser and thus no match would be found (i.e.
using this parser will be no improvement over QueryParser in such cases). </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"><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html">QueryParserBase</a></div>
<div class="level3"><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html">QueryParser</a></div>
<div class="level4"><span class="xref">AnalyzingQueryParser</span></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="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Conjunction">QueryParser.Conjunction()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Modifiers">QueryParser.Modifiers()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_TopLevelQuery_System_String_">QueryParser.TopLevelQuery(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Query_System_String_">QueryParser.Query(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Clause_System_String_">QueryParser.Clause(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Term_System_String_">QueryParser.Term(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_TokenSource">QueryParser.TokenSource</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Token">QueryParser.Token</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Jj_nt">QueryParser.Jj_nt</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_ReInit_Lucene_Net_QueryParsers_Classic_ICharStream_">QueryParser.ReInit(ICharStream)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_ReInit_Lucene_Net_QueryParsers_Classic_QueryParserTokenManager_">QueryParser.ReInit(QueryParserTokenManager)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_GetNextToken">QueryParser.GetNextToken()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_GetToken_System_Int32_">QueryParser.GetToken(Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_GenerateParseException">QueryParser.GenerateParseException()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Enable_tracing">QueryParser.Enable_tracing()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParser.html#Lucene_Net_QueryParsers_Classic_QueryParser_Disable_tracing">QueryParser.Disable_tracing()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_NONE">QueryParserBase.CONJ_NONE</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_AND">QueryParserBase.CONJ_AND</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_CONJ_OR">QueryParserBase.CONJ_OR</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NONE">QueryParserBase.MOD_NONE</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_NOT">QueryParserBase.MOD_NOT</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_MOD_REQ">QueryParserBase.MOD_REQ</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AND_OPERATOR">QueryParserBase.AND_OPERATOR</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_OR_OPERATOR">QueryParserBase.OR_OPERATOR</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_m_field">QueryParserBase.m_field</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_Init_Lucene_Net_Util_LuceneVersion_System_String_Lucene_Net_Analysis_Analyzer_">QueryParserBase.Init(LuceneVersion, String, Analyzer)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_Parse_System_String_">QueryParserBase.Parse(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_Field">QueryParserBase.Field</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AutoGeneratePhraseQueries">QueryParserBase.AutoGeneratePhraseQueries</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyMinSim">QueryParserBase.FuzzyMinSim</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_FuzzyPrefixLength">QueryParserBase.FuzzyPrefixLength</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_PhraseSlop">QueryParserBase.PhraseSlop</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AllowLeadingWildcard">QueryParserBase.AllowLeadingWildcard</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_DefaultOperator">QueryParserBase.DefaultOperator</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_LowercaseExpandedTerms">QueryParserBase.LowercaseExpandedTerms</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_MultiTermRewriteMethod">QueryParserBase.MultiTermRewriteMethod</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_Locale">QueryParserBase.Locale</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_TimeZone">QueryParserBase.TimeZone</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_Lucene_Net_Documents_DateTools_Resolution_">QueryParserBase.SetDateResolution(DateTools.Resolution)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_SetDateResolution_System_String_Lucene_Net_Documents_DateTools_Resolution_">QueryParserBase.SetDateResolution(String, DateTools.Resolution)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetDateResolution_System_String_">QueryParserBase.GetDateResolution(String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeRangeTerms">QueryParserBase.AnalyzeRangeTerms</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AddClause_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Int32_System_Int32_Lucene_Net_Search_Query_">QueryParserBase.AddClause(IList&lt;BooleanClause&gt;, Int32, Int32, Query)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Boolean_">QueryParserBase.GetFieldQuery(String, String, Boolean)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFieldQuery_Lucene_Net_Analysis_Analyzer_System_String_System_String_System_Boolean_">QueryParserBase.NewFieldQuery(Analyzer, String, String, Boolean)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFieldQuery_System_String_System_String_System_Int32_">QueryParserBase.GetFieldQuery(String, String, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_">QueryParserBase.GetRangeQuery(String, String, String, Boolean, Boolean)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewBooleanClause_Lucene_Net_Search_Query_Lucene_Net_Search_Occur_">QueryParserBase.NewBooleanClause(Query, Occur)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewPrefixQuery_Lucene_Net_Index_Term_">QueryParserBase.NewPrefixQuery(Term)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRegexpQuery_Lucene_Net_Index_Term_">QueryParserBase.NewRegexpQuery(Term)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewFuzzyQuery_Lucene_Net_Index_Term_System_Single_System_Int32_">QueryParserBase.NewFuzzyQuery(Term, Single, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_AnalyzeMultitermTerm_System_String_System_String_Lucene_Net_Analysis_Analyzer_">QueryParserBase.AnalyzeMultitermTerm(String, String, Analyzer)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewRangeQuery_System_String_System_String_System_String_System_Boolean_System_Boolean_">QueryParserBase.NewRangeQuery(String, String, String, Boolean, Boolean)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewMatchAllDocsQuery">QueryParserBase.NewMatchAllDocsQuery()</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_NewWildcardQuery_Lucene_Net_Index_Term_">QueryParserBase.NewWildcardQuery(Term)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__">QueryParserBase.GetBooleanQuery(IList&lt;BooleanClause&gt;)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetBooleanQuery_System_Collections_Generic_IList_Lucene_Net_Search_BooleanClause__System_Boolean_">QueryParserBase.GetBooleanQuery(IList&lt;BooleanClause&gt;, Boolean)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetRegexpQuery_System_String_System_String_">QueryParserBase.GetRegexpQuery(String, String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_Escape_System_String_">QueryParserBase.Escape(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_">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.Analyzing.html">Lucene.Net.QueryParsers.Analyzing</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.QueryParser.dll</h6>
<h5 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class AnalyzingQueryParser : QueryParser, 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_Analyzing_AnalyzingQueryParser__ctor_Lucene_Net_Util_LuceneVersion_System_String_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.%23ctor(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/Analyzing/AnalyzingQueryParser.cs/#L46">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser__ctor_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.#ctor*"></a>
<h4 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser__ctor_Lucene_Net_Util_LuceneVersion_System_String_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.#ctor(Lucene.Net.Util.LuceneVersion,System.String,Lucene.Net.Analysis.Analyzer)">AnalyzingQueryParser(LuceneVersion, 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">public AnalyzingQueryParser(LuceneVersion matchVersion, string field, Analyzer analyzer)</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></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">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">analyzer</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_Analyzing_AnalyzingQueryParser_AnalyzeSingleChunk_System_String_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.AnalyzeSingleChunk(System.String%2CSystem.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/Analyzing/AnalyzingQueryParser.cs/#L164">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_AnalyzeSingleChunk_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.AnalyzeSingleChunk*"></a>
<h4 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_AnalyzeSingleChunk_System_String_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.AnalyzeSingleChunk(System.String,System.String,System.String)">AnalyzeSingleChunk(String, String, String)</h4>
<div class="markdown level1 summary"><p>Returns the analyzed form for the given chunk.</p>
<p>If the analyzer produces more than one output token from the given chunk,
a ParseException is thrown.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected virtual string AnalyzeSingleChunk(string field, string termStr, string chunk)</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>The target field</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">termStr</span></td>
<td><p>The full term from which the given chunk is excerpted</p>
</td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">chunk</span></td>
<td><p>The portion of the given termStr to be analyzed</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">System.String</span></td>
<td><p>The result of analyzing the given chunk</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>ParseException when analysis returns other than one output token</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_Analyzing_AnalyzingQueryParser_GetFuzzyQuery_System_String_System_String_System_Single_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.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/Analyzing/AnalyzingQueryParser.cs/#L147">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetFuzzyQuery_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetFuzzyQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetFuzzyQuery_System_String_System_String_System_Single_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetFuzzyQuery(System.String,System.String,System.Single)">GetFuzzyQuery(String, String, Single)</h4>
<div class="markdown level1 summary"><p>Called when parser parses an input term that has the fuzzy suffix (~) appended.
<p>
Depending on analyzer and settings, a fuzzy term may (most probably will)
be lower-cased automatically. It <strong>will</strong> go through the default Analyzer.
<p>
Overrides super class, by passing terms through analyzer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override 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 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></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="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetFuzzyQuery_System_String_System_String_System_Single_">QueryParserBase.GetFuzzyQuery(String, String, Single)</a></div>
<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_Analyzing_AnalyzingQueryParser_GetPrefixQuery_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.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/Analyzing/AnalyzingQueryParser.cs/#L129">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetPrefixQuery_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetPrefixQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetPrefixQuery_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetPrefixQuery(System.String,System.String)">GetPrefixQuery(String, String)</h4>
<div class="markdown level1 summary"><p>Called when parser parses an input term
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 analyzer and settings, a prefix term may (most probably will)
be lower-cased automatically. It <strong>will</strong> go through the default Analyzer.
<p>
Overrides super class, by passing terms through analyzer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override 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 to use for building term for the query (<strong>without</strong> trailing &apos;*&apos; character!)</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="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetPrefixQuery_System_String_System_String_">QueryParserBase.GetPrefixQuery(String, String)</a></div>
<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_Analyzing_AnalyzingQueryParser_GetWildcardQuery_System_String_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.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/Analyzing/AnalyzingQueryParser.cs/#L68">View Source</a>
</span>
<a id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetWildcardQuery_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetWildcardQuery*"></a>
<h4 id="Lucene_Net_QueryParsers_Analyzing_AnalyzingQueryParser_GetWildcardQuery_System_String_System_String_" data-uid="Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser.GetWildcardQuery(System.String,System.String)">GetWildcardQuery(String, String)</h4>
<div class="markdown level1 summary"><p>Called when parser parses an input term
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 analyzer and settings, a prefix term may (most probably will)
be lower-cased automatically. It <strong>will</strong> go through the default Analyzer.
<p>
Overrides super class, by passing terms through analyzer.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">protected override 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 to use for building term for the query
(<strong>without</strong> trailing &apos;*&apos; character!)</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="overrides">Overrides</h5>
<div><a class="xref" href="Lucene.Net.QueryParsers.Classic.QueryParserBase.html#Lucene_Net_QueryParsers_Classic_QueryParserBase_GetWildcardQuery_System_String_System_String_">QueryParserBase.GetWildcardQuery(String, String)</a></div>
<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_Analyzing_AnalyzingQueryParser.md&amp;value=---%0Auid%3A%20Lucene.Net.QueryParsers.Analyzing.AnalyzingQueryParser%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/Analyzing/AnalyzingQueryParser.cs/#L41" 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>