| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class AnalyzingInfixSuggester |
| | Apache Lucene.NET 4.8.0-beta00010 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class AnalyzingInfixSuggester |
| | Apache Lucene.NET 4.8.0-beta00010 Documentation "> |
| <meta name="generator" content="docfx 2.56.0.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="suggest/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"> |
| <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.Search.Suggest.Analyzing.AnalyzingInfixSuggester"> |
| |
| |
| <h1 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester" class="text-break">Class AnalyzingInfixSuggester |
| </h1> |
| <div class="markdown level0 summary"><p>Analyzes the input text and then suggests matches based |
| on prefix matches to any tokens in the indexed text. |
| This also highlights the tokens that match.</p> |
| <p>This suggester supports payloads. Matches are sorted only |
| by the suggest weight; it would be nice to support |
| blended score + weight sort in the future. This means |
| this suggester best applies when there is a strong |
| a-priori ranking of all the suggestions. |
| |
| </p> |
| <p>This suggester supports contexts, however the |
| contexts must be valid utf8 (arbitrary binary terms will |
| not work). |
| |
| @lucene.experimental |
| </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"><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html">Lookup</a></div> |
| <div class="level2"><span class="xref">AnalyzingInfixSuggester</span></div> |
| <div class="level3"><a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.BlendedInfixSuggester.html">BlendedInfixSuggester</a></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><span class="xref">System.IDisposable</span></div> |
| </div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_CHARSEQUENCE_COMPARER">Lookup.CHARSEQUENCE_COMPARER</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Build_Lucene_Net_Search_Spell_IDictionary_">Lookup.Build(IDictionary)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Load_System_IO_Stream_">Lookup.Load(Stream)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Store_System_IO_Stream_">Lookup.Store(Stream)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_DoLookup_System_String_System_Boolean_System_Int32_">Lookup.DoLookup(String, Boolean, Int32)</a> |
| </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.Search.Suggest.Analyzing.html">Lucene.Net.Search.Suggest.Analyzing</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.Suggest.dll</h6> |
| <h5 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class AnalyzingInfixSuggester : Lookup, IDisposable</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_Lucene_Net_Util_LuceneVersion_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.%23ctor(Lucene.Net.Util.LuceneVersion%2CLucene.Net.Store.Directory%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L119">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.#ctor*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_Lucene_Net_Util_LuceneVersion_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.#ctor(Lucene.Net.Util.LuceneVersion,Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer)">AnalyzingInfixSuggester(LuceneVersion, Directory, Analyzer)</h4> |
| <div class="markdown level1 summary"><p>Create a new instance, loading from a previously built |
| <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html">AnalyzingInfixSuggester</a> directory, if it exists. |
| This directory must be |
| private to the infix suggester (i.e., not an external |
| Lucene index). Note that <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Dispose">Dispose()</a> |
| will also dispose the provided directory. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public AnalyzingInfixSuggester(LuceneVersion matchVersion, Directory dir, 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">Lucene.Net.Store.Directory</span></td> |
| <td><span class="parametername">dir</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> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_Lucene_Net_Util_LuceneVersion_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_Lucene_Net_Analysis_Analyzer_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.%23ctor(Lucene.Net.Util.LuceneVersion%2CLucene.Net.Store.Directory%2CLucene.Net.Analysis.Analyzer%2CLucene.Net.Analysis.Analyzer%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L136">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.#ctor*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester__ctor_Lucene_Net_Util_LuceneVersion_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_Lucene_Net_Analysis_Analyzer_System_Int32_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.#ctor(Lucene.Net.Util.LuceneVersion,Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer,Lucene.Net.Analysis.Analyzer,System.Int32)">AnalyzingInfixSuggester(LuceneVersion, Directory, Analyzer, Analyzer, Int32)</h4> |
| <div class="markdown level1 summary"><p>Create a new instance, loading from a previously built |
| <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html">AnalyzingInfixSuggester</a> directory, if it exists. This directory must be |
| private to the infix suggester (i.e., not an external |
| Lucene index). Note that <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Dispose">Dispose()</a> |
| will also dispose the provided directory.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public AnalyzingInfixSuggester(LuceneVersion matchVersion, Directory dir, Analyzer indexAnalyzer, Analyzer queryAnalyzer, int minPrefixChars)</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">Lucene.Net.Store.Directory</span></td> |
| <td><span class="parametername">dir</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td> |
| <td><span class="parametername">indexAnalyzer</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td> |
| <td><span class="parametername">queryAnalyzer</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">minPrefixChars</span></td> |
| <td><p>Minimum number of leading characters |
| before <a class="xref" href="http://localhost:8080/api/core/Lucene.Net.Search.PrefixQuery.html">PrefixQuery</a> is used (default 4). |
| Prefixes shorter than this are indexed as character |
| ngrams (increasing index size but making lookups |
| faster). </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_CONTEXTS_FIELD_NAME.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.CONTEXTS_FIELD_NAME%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L81">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_CONTEXTS_FIELD_NAME" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.CONTEXTS_FIELD_NAME">CONTEXTS_FIELD_NAME</h4> |
| <div class="markdown level1 summary"><p>Field name used for the indexed context, as a |
| <a class="xref" href="http://localhost:8080/api/core/Lucene.Net.Documents.StringField.html">StringField</a> and a <a class="xref" href="http://localhost:8080/api/core/Lucene.Net.Documents.SortedSetDocValuesField.html">SortedSetDocValuesField</a>, for filtering. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected const string CONTEXTS_FIELD_NAME = "contexts"</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DEFAULT_MIN_PREFIX_CHARS.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DEFAULT_MIN_PREFIX_CHARS%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L105">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DEFAULT_MIN_PREFIX_CHARS" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DEFAULT_MIN_PREFIX_CHARS">DEFAULT_MIN_PREFIX_CHARS</h4> |
| <div class="markdown level1 summary"><p>Default minimum number of leading characters before |
| PrefixQuery is used (4). </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public const int DEFAULT_MIN_PREFIX_CHARS = 4</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_EXACT_TEXT_FIELD_NAME.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.EXACT_TEXT_FIELD_NAME%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L75">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_EXACT_TEXT_FIELD_NAME" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.EXACT_TEXT_FIELD_NAME">EXACT_TEXT_FIELD_NAME</h4> |
| <div class="markdown level1 summary"><p>Field name used for the indexed text, as a |
| <a class="xref" href="http://localhost:8080/api/core/Lucene.Net.Documents.StringField.html">StringField</a>, for exact lookup. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected const string EXACT_TEXT_FIELD_NAME = "exacttext"</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_indexAnalyzer.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_indexAnalyzer%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L88">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_indexAnalyzer" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_indexAnalyzer">m_indexAnalyzer</h4> |
| <div class="markdown level1 summary"><p>Analyzer used at index time </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected readonly Analyzer m_indexAnalyzer</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">Lucene.Net.Analysis.Analyzer</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_queryAnalyzer.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_queryAnalyzer%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L85">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_queryAnalyzer" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_queryAnalyzer">m_queryAnalyzer</h4> |
| <div class="markdown level1 summary"><p>Analyzer used at search time </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected readonly Analyzer m_queryAnalyzer</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">Lucene.Net.Analysis.Analyzer</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_searcherMgr.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_searcherMgr%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L99">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_m_searcherMgr" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.m_searcherMgr">m_searcherMgr</h4> |
| <div class="markdown level1 summary"><p><span class="xref">Lucene.Net.Search.IndexSearcher</span> used for lookups. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected SearcherManager m_searcherMgr</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">Lucene.Net.Search.SearcherManager</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_TEXT_FIELD_NAME.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.TEXT_FIELD_NAME%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L69">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_TEXT_FIELD_NAME" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.TEXT_FIELD_NAME">TEXT_FIELD_NAME</h4> |
| <div class="markdown level1 summary"><p>Field name used for the indexed text. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected const string TEXT_FIELD_NAME = "text"</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> |
| <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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Count.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Count%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L778">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Count_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Count*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Count" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Count">Count</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 override long Count { 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.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Count">Lookup.Count</a></div> |
| <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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Add_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Add(Lucene.Net.Util.BytesRef%2CSystem.Collections.Generic.IEnumerable%7BLucene.Net.Util.BytesRef%7D%2CSystem.Int64%2CLucene.Net.Util.BytesRef)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L291">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Add_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Add*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Add_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Add(Lucene.Net.Util.BytesRef,System.Collections.Generic.IEnumerable{Lucene.Net.Util.BytesRef},System.Int64,Lucene.Net.Util.BytesRef)">Add(BytesRef, IEnumerable<BytesRef>, Int64, BytesRef)</h4> |
| <div class="markdown level1 summary"><p>Adds a new suggestion. Be sure to use <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Update_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_">Update(BytesRef, IEnumerable<BytesRef>, Int64, BytesRef)</a> |
| instead if you want to replace a previous suggestion. |
| After adding or updating a batch of new suggestions, |
| you must call <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Refresh">Refresh()</a> in the end in order to |
| see the suggestions in <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int32_System_Boolean_System_Boolean_">DoLookup(String, IEnumerable<BytesRef>, Int32, Boolean, Boolean)</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 Add(BytesRef text, IEnumerable<BytesRef> contexts, long weight, BytesRef payload)</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.BytesRef</span></td> |
| <td><span class="parametername">text</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">Lucene.Net.Util.BytesRef</span>></td> |
| <td><span class="parametername">contexts</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td><span class="parametername">weight</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Util.BytesRef</span></td> |
| <td><span class="parametername">payload</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddNonMatch_System_Text_StringBuilder_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddNonMatch(System.Text.StringBuilder%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L681">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddNonMatch_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddNonMatch*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddNonMatch_System_Text_StringBuilder_System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddNonMatch(System.Text.StringBuilder,System.String)">AddNonMatch(StringBuilder, String)</h4> |
| <div class="markdown level1 summary"><p>Called while highlighting a single result, to append a |
| non-matching chunk of text from the suggestion to the |
| provided fragments list. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual void AddNonMatch(StringBuilder sb, string text)</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.Text.StringBuilder</span></td> |
| <td><span class="parametername">sb</span></td> |
| <td><p>The <span class="xref">System.Text.StringBuilder</span> to append to </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">text</span></td> |
| <td><p>The text chunk to add </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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddPrefixMatch_System_Text_StringBuilder_System_String_System_String_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddPrefixMatch(System.Text.StringBuilder%2CSystem.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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L708">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddPrefixMatch_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddPrefixMatch*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddPrefixMatch_System_Text_StringBuilder_System_String_System_String_System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddPrefixMatch(System.Text.StringBuilder,System.String,System.String,System.String)">AddPrefixMatch(StringBuilder, String, String, String)</h4> |
| <div class="markdown level1 summary"><p>Called while highlighting a single result, to append a |
| matched prefix token, to the provided fragments list. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual void AddPrefixMatch(StringBuilder sb, string surface, string analyzed, string prefixToken)</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.Text.StringBuilder</span></td> |
| <td><span class="parametername">sb</span></td> |
| <td><p>The <span class="xref">System.Text.StringBuilder</span> to append to </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">surface</span></td> |
| <td><p>The fragment of the surface form |
| (indexed during <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Build_Lucene_Net_Search_Suggest_IInputIterator_">Build(IInputIterator)</a>, corresponding to |
| this match </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">analyzed</span></td> |
| <td><p>The analyzed token that matched </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">prefixToken</span></td> |
| <td><p>The prefix of the token that matched </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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddWholeMatch_System_Text_StringBuilder_System_String_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddWholeMatch(System.Text.StringBuilder%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L692">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddWholeMatch_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddWholeMatch*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_AddWholeMatch_System_Text_StringBuilder_System_String_System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.AddWholeMatch(System.Text.StringBuilder,System.String,System.String)">AddWholeMatch(StringBuilder, String, String)</h4> |
| <div class="markdown level1 summary"><p>Called while highlighting a single result, to append |
| the whole matched token to the provided fragments list. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual void AddWholeMatch(StringBuilder sb, string surface, string analyzed)</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.Text.StringBuilder</span></td> |
| <td><span class="parametername">sb</span></td> |
| <td><p>The <span class="xref">System.Text.StringBuilder</span> to append to </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">surface</span></td> |
| <td><p>The surface form (original) text </p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">analyzed</span></td> |
| <td><p>The analyzed token corresponding to the surface form 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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Build_Lucene_Net_Search_Suggest_IInputIterator_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Build(Lucene.Net.Search.Suggest.IInputIterator)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L189">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Build_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Build*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Build_Lucene_Net_Search_Suggest_IInputIterator_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Build(Lucene.Net.Search.Suggest.IInputIterator)">Build(IInputIterator)</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 override void Build(IInputIterator iter)</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.Search.Suggest.IInputIterator.html">IInputIterator</a></td> |
| <td><span class="parametername">iter</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Build_Lucene_Net_Search_Suggest_IInputIterator_">Lookup.Build(IInputIterator)</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_CreateResults_Lucene_Net_Search_IndexSearcher_Lucene_Net_Search_TopFieldDocs_System_Int32_System_String_System_Boolean_System_Collections_Generic_ICollection_System_String__System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.CreateResults(Lucene.Net.Search.IndexSearcher%2CLucene.Net.Search.TopFieldDocs%2CSystem.Int32%2CSystem.String%2CSystem.Boolean%2CSystem.Collections.Generic.ICollection%7BSystem.String%7D%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L541">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_CreateResults_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.CreateResults*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_CreateResults_Lucene_Net_Search_IndexSearcher_Lucene_Net_Search_TopFieldDocs_System_Int32_System_String_System_Boolean_System_Collections_Generic_ICollection_System_String__System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.CreateResults(Lucene.Net.Search.IndexSearcher,Lucene.Net.Search.TopFieldDocs,System.Int32,System.String,System.Boolean,System.Collections.Generic.ICollection{System.String},System.String)">CreateResults(IndexSearcher, TopFieldDocs, Int32, String, Boolean, ICollection<String>, String)</h4> |
| <div class="markdown level1 summary"><p>Create the results based on the search hits. |
| Can be overridden by subclass to add particular behavior (e.g. weight transformation) </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual IList<Lookup.LookupResult> CreateResults(IndexSearcher searcher, TopFieldDocs hits, int num, string charSequence, bool doHighlight, ICollection<string> matchedTokens, string prefixToken)</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.IndexSearcher</span></td> |
| <td><span class="parametername">searcher</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Search.TopFieldDocs</span></td> |
| <td><span class="parametername">hits</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">num</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">charSequence</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">doHighlight</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.ICollection</span><<span class="xref">System.String</span>></td> |
| <td><span class="parametername">matchedTokens</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">prefixToken</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.Collections.Generic.IList</span><<a class="xref" href="Lucene.Net.Search.Suggest.Lookup.LookupResult.html">Lookup.LookupResult</a>></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><span class="xref">System.IO.IOException</span></td> |
| <td><p>If there are problems reading fields from the underlying Lucene index. </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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Dispose.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Dispose%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L731">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Dispose_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Dispose*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Dispose" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Dispose">Dispose()</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 virtual void Dispose()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Boolean_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String%2CSystem.Collections.Generic.IEnumerable%7BLucene.Net.Util.BytesRef%7D%2CSystem.Boolean%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L362">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Boolean_System_Int32_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String,System.Collections.Generic.IEnumerable{Lucene.Net.Util.BytesRef},System.Boolean,System.Int32)">DoLookup(String, IEnumerable<BytesRef>, Boolean, Int32)</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 override IList<Lookup.LookupResult> DoLookup(string key, IEnumerable<BytesRef> contexts, bool onlyMorePopular, int num)</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">key</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">Lucene.Net.Util.BytesRef</span>></td> |
| <td><span class="parametername">contexts</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">onlyMorePopular</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">num</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.Collections.Generic.IList</span><<a class="xref" href="Lucene.Net.Search.Suggest.Lookup.LookupResult.html">Lookup.LookupResult</a>></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Boolean_System_Int32_">Lookup.DoLookup(String, IEnumerable<BytesRef>, Boolean, Int32)</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int32_System_Boolean_System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String%2CSystem.Collections.Generic.IEnumerable%7BLucene.Net.Util.BytesRef%7D%2CSystem.Int32%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L396">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int32_System_Boolean_System_Boolean_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String,System.Collections.Generic.IEnumerable{Lucene.Net.Util.BytesRef},System.Int32,System.Boolean,System.Boolean)">DoLookup(String, IEnumerable<BytesRef>, Int32, Boolean, Boolean)</h4> |
| <div class="markdown level1 summary"><p>Retrieve suggestions, specifying whether all terms |
| must match (<code data-dev-comment-type="paramref" class="paramref">allTermsRequired</code>) and whether the hits |
| should be highlighted (<code data-dev-comment-type="paramref" class="paramref">doHighlight</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 IList<Lookup.LookupResult> DoLookup(string key, IEnumerable<BytesRef> contexts, int num, bool allTermsRequired, bool doHighlight)</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">key</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">Lucene.Net.Util.BytesRef</span>></td> |
| <td><span class="parametername">contexts</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">num</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">allTermsRequired</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">doHighlight</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.Collections.Generic.IList</span><<a class="xref" href="Lucene.Net.Search.Suggest.Lookup.LookupResult.html">Lookup.LookupResult</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Int32_System_Boolean_System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String%2CSystem.Int32%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L370">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Int32_System_Boolean_System_Boolean_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.DoLookup(System.String,System.Int32,System.Boolean,System.Boolean)">DoLookup(String, Int32, Boolean, Boolean)</h4> |
| <div class="markdown level1 summary"><p>Lookup, without any context.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual IList<Lookup.LookupResult> DoLookup(string key, int num, bool allTermsRequired, bool doHighlight)</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">key</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td><span class="parametername">num</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">allTermsRequired</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">doHighlight</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.Collections.Generic.IList</span><<a class="xref" href="Lucene.Net.Search.Suggest.Lookup.LookupResult.html">Lookup.LookupResult</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_FinishQuery_Lucene_Net_Search_BooleanQuery_System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.FinishQuery(Lucene.Net.Search.BooleanQuery%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L613">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_FinishQuery_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.FinishQuery*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_FinishQuery_Lucene_Net_Search_BooleanQuery_System_Boolean_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.FinishQuery(Lucene.Net.Search.BooleanQuery,System.Boolean)">FinishQuery(BooleanQuery, Boolean)</h4> |
| <div class="markdown level1 summary"><p>Subclass can override this to tweak the Query before |
| searching. </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 FinishQuery(BooleanQuery bq, bool allTermsRequired)</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.BooleanQuery</span></td> |
| <td><span class="parametername">bq</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">allTermsRequired</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetDirectory_System_IO_DirectoryInfo_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetDirectory(System.IO.DirectoryInfo)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L184">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetDirectory_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetDirectory*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetDirectory_System_IO_DirectoryInfo_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetDirectory(System.IO.DirectoryInfo)">GetDirectory(DirectoryInfo)</h4> |
| <div class="markdown level1 summary"><p>Subclass can override to choose a specific |
| <span class="xref">Lucene.Net.Store.Directory</span> implementation. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual Directory GetDirectory(DirectoryInfo path)</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.IO.DirectoryInfo</span></td> |
| <td><span class="parametername">path</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.Store.Directory</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetIndexWriterConfig_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_Lucene_Net_Index_OpenMode_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetIndexWriterConfig(Lucene.Net.Util.LuceneVersion%2CLucene.Net.Analysis.Analyzer%2CLucene.Net.Index.OpenMode)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L163">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetIndexWriterConfig_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetIndexWriterConfig*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetIndexWriterConfig_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_Lucene_Net_Index_OpenMode_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetIndexWriterConfig(Lucene.Net.Util.LuceneVersion,Lucene.Net.Analysis.Analyzer,Lucene.Net.Index.OpenMode)">GetIndexWriterConfig(LuceneVersion, Analyzer, OpenMode)</h4> |
| <div class="markdown level1 summary"><p>Override this to customize index settings, e.g. which |
| codec to use. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual IndexWriterConfig GetIndexWriterConfig(LuceneVersion matchVersion, Analyzer indexAnalyzer, OpenMode openMode)</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">Lucene.Net.Analysis.Analyzer</span></td> |
| <td><span class="parametername">indexAnalyzer</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Index.OpenMode</span></td> |
| <td><span class="parametername">openMode</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.Index.IndexWriterConfig</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetLastTokenQuery_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetLastTokenQuery(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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L380">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetLastTokenQuery_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetLastTokenQuery*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetLastTokenQuery_System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetLastTokenQuery(System.String)">GetLastTokenQuery(String)</h4> |
| <div class="markdown level1 summary"><p>This is called if the last token isn't ended |
| (e.g. user did not type a space after it). Return an |
| appropriate <span class="xref">Lucene.Net.Search.Query</span> clause to add to the <span class="xref">Lucene.Net.Search.BooleanQuery</span>. </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 GetLastTokenQuery(string token)</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">token</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetSizeInBytes%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L746">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetSizeInBytes_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetSizeInBytes" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetSizeInBytes">GetSizeInBytes()</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 override long GetSizeInBytes()</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">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_GetSizeInBytes">Lookup.GetSizeInBytes()</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetTextFieldType.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetTextFieldType%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L353">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetTextFieldType_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetTextFieldType*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_GetTextFieldType" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.GetTextFieldType">GetTextFieldType()</h4> |
| <div class="markdown level1 summary"><p>Subclass can override this method to change the field type of the text field |
| e.g. to change the index options</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual FieldType GetTextFieldType()</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.Documents.FieldType</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Highlight_System_String_System_Collections_Generic_ICollection_System_String__System_String_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Highlight(System.String%2CSystem.Collections.Generic.ICollection%7BSystem.String%7D%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L624">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Highlight_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Highlight*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Highlight_System_String_System_Collections_Generic_ICollection_System_String__System_String_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Highlight(System.String,System.Collections.Generic.ICollection{System.String},System.String)">Highlight(String, ICollection<String>, String)</h4> |
| <div class="markdown level1 summary"><p>Override this method to customize the Object |
| representing a single highlighted suggestions; the |
| result is set on each <a class="xref" href="Lucene.Net.Search.Suggest.Lookup.LookupResult.html#Lucene_Net_Search_Suggest_Lookup_LookupResult_HighlightKey">HighlightKey</a> |
| member. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual object Highlight(string text, ICollection<string> matchedTokens, string prefixToken)</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">text</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.ICollection</span><<span class="xref">System.String</span>></td> |
| <td><span class="parametername">matchedTokens</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">prefixToken</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.Object</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Load_Lucene_Net_Store_DataInput_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Load(Lucene.Net.Store.DataInput)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L726">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Load_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Load*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Load_Lucene_Net_Store_DataInput_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Load(Lucene.Net.Store.DataInput)">Load(DataInput)</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 override bool Load(DataInput out)</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.Store.DataInput</span></td> |
| <td><span class="parametername">out</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.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Load_Lucene_Net_Store_DataInput_">Lookup.Load(DataInput)</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Refresh.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Refresh%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L344">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Refresh_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Refresh*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Refresh" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Refresh">Refresh()</h4> |
| <div class="markdown level1 summary"><p>Reopens the underlying searcher; it's best to "batch |
| up" many additions/updates, and then call refresh |
| once in the end. </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 Refresh()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Store_Lucene_Net_Store_DataOutput_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Store(Lucene.Net.Store.DataOutput)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L721">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Store_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Store*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Store_Lucene_Net_Store_DataOutput_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Store(Lucene.Net.Store.DataOutput)">Store(DataOutput)</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 override bool Store(DataOutput in)</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.Store.DataOutput</span></td> |
| <td><span class="parametername">in</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.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Search.Suggest.Lookup.html#Lucene_Net_Search_Suggest_Lookup_Store_Lucene_Net_Store_DataOutput_">Lookup.Store(DataOutput)</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Update_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Update(Lucene.Net.Util.BytesRef%2CSystem.Collections.Generic.IEnumerable%7BLucene.Net.Util.BytesRef%7D%2CSystem.Int64%2CLucene.Net.Util.BytesRef)%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L305">View Source</a> |
| </span> |
| <a id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Update_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Update*"></a> |
| <h4 id="Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Update_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_" data-uid="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.Update(Lucene.Net.Util.BytesRef,System.Collections.Generic.IEnumerable{Lucene.Net.Util.BytesRef},System.Int64,Lucene.Net.Util.BytesRef)">Update(BytesRef, IEnumerable<BytesRef>, Int64, BytesRef)</h4> |
| <div class="markdown level1 summary"><p>Updates a previous suggestion, matching the exact same |
| text as before. Use this to change the weight or |
| payload of an already added suggstion. If you know |
| this text is not already present you can use <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Add_Lucene_Net_Util_BytesRef_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int64_Lucene_Net_Util_BytesRef_">Add(BytesRef, IEnumerable<BytesRef>, Int64, BytesRef)</a> |
| instead. After adding or updating a batch of |
| new suggestions, you must call <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_Refresh">Refresh()</a> in the |
| end in order to see the suggestions in <a class="xref" href="Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester.html#Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester_DoLookup_System_String_System_Collections_Generic_IEnumerable_Lucene_Net_Util_BytesRef__System_Int32_System_Boolean_System_Boolean_">DoLookup(String, IEnumerable<BytesRef>, Int32, Boolean, Boolean)</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 Update(BytesRef text, IEnumerable<BytesRef> contexts, long weight, BytesRef payload)</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.BytesRef</span></td> |
| <td><span class="parametername">text</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IEnumerable</span><<span class="xref">Lucene.Net.Util.BytesRef</span>></td> |
| <td><span class="parametername">contexts</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td><span class="parametername">weight</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Util.BytesRef</span></td> |
| <td><span class="parametername">payload</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <span class="xref">System.IDisposable</span> |
| </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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Search_Suggest_Analyzing_AnalyzingInfixSuggester.md&value=---%0Auid%3A%20Lucene.Net.Search.Suggest.Analyzing.AnalyzingInfixSuggester%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.Suggest/Suggest/Analyzing/AnalyzingInfixSuggester.cs/#L64" 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 Licensed to the Apache Software Foundation (ASF) |
| |
| </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> |