| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class SpatialDocMaker |
| | Apache Lucene.NET 4.8.0-beta00013 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class SpatialDocMaker |
| | 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="benchmark/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.Benchmarks.ByTask.Feeds.SpatialDocMaker"> |
| |
| |
| <h1 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker" class="text-break">Class SpatialDocMaker |
| </h1> |
| <div class="markdown level0 summary"><p>Indexes spatial data according to a configured <span class="xref">Lucene.Net.Spatial.SpatialStrategy</span> with optional |
| shape transformation via a configured <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.IShapeConverter.html">IShapeConverter</a>. The converter can turn points into |
| circles and bounding boxes, in order to vary the type of indexing performance tests. |
| Unless it's subclass-ed to do otherwise, this class configures a <span class="xref">Spatial4n.Core.Context.SpatialContext</span>, |
| <span class="xref">Lucene.Net.Spatial.Prefix.Tree.SpatialPrefixTree</span>, and <span class="xref">Lucene.Net.Spatial.Prefix.RecursivePrefixTreeStrategy</span>. The Strategy is made |
| available to a query maker via the static method <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_GetSpatialStrategy_System_Int32_">GetSpatialStrategy(Int32)</a>. |
| See spatial.alg for a listing of spatial parameters, in particular those starting with "spatial." |
| and "doc.spatial".</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.Benchmarks.ByTask.Feeds.DocMaker.html">DocMaker</a></div> |
| <div class="level2"><span class="xref">SpatialDocMaker</span></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.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_BODY_FIELD">DocMaker.BODY_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_TITLE_FIELD">DocMaker.TITLE_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_DATE_FIELD">DocMaker.DATE_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_DATE_MSEC_FIELD">DocMaker.DATE_MSEC_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_TIME_SEC_FIELD">DocMaker.TIME_SEC_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_ID_FIELD">DocMaker.ID_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_BYTES_FIELD">DocMaker.BYTES_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_NAME_FIELD">DocMaker.NAME_FIELD</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_config">DocMaker.m_config</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_valType">DocMaker.m_valType</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_bodyValType">DocMaker.m_bodyValType</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_source">DocMaker.m_source</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_reuseFields">DocMaker.m_reuseFields</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_m_indexProperties">DocMaker.m_indexProperties</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_GetDocState">DocMaker.GetDocState()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_Dispose">DocMaker.Dispose()</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_Dispose_System_Boolean_">DocMaker.Dispose(Boolean)</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_ResetInputs">DocMaker.ResetInputs()</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.Benchmarks.ByTask.Feeds.html">Lucene.Net.Benchmarks.ByTask.Feeds</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.Benchmark.dll</h6> |
| <h5 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class SpatialDocMaker : DocMaker, IDisposable</code></pre> |
| </div> |
| <h3 id="fields">Fields |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_SPATIAL_FIELD.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.SPATIAL_FIELD%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L43">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_SPATIAL_FIELD" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.SPATIAL_FIELD">SPATIAL_FIELD</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static readonly string SPATIAL_FIELD</code></pre> |
| </div> |
| <h5 class="fieldValue">Field Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <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_Benchmarks_ByTask_Feeds_SpatialDocMaker_GetSpatialStrategy_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.GetSpatialStrategy(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L56">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_GetSpatialStrategy_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.GetSpatialStrategy*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_GetSpatialStrategy_System_Int32_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.GetSpatialStrategy(System.Int32)">GetSpatialStrategy(Int32)</h4> |
| <div class="markdown level1 summary"><p>Looks up the <span class="xref">Lucene.Net.Spatial.SpatialStrategy</span> from the given round -- |
| <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Utils.Config.html#Lucene_Net_Benchmarks_ByTask_Utils_Config_RoundNumber">RoundNumber</a>. It's an error |
| if it wasn't created already for this round -- when <a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.html">SpatialDocMaker</a> is initialized.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static SpatialStrategy GetSpatialStrategy(int roundNumber)</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.Int32</span></td> |
| <td><span class="parametername">roundNumber</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.Spatial.SpatialStrategy</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L186">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument">MakeDocument()</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 Document MakeDocument()</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.Document</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_MakeDocument">DocMaker.MakeDocument()</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_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument_System_Int32_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument(System.Int32)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L228">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeDocument_System_Int32_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeDocument(System.Int32)">MakeDocument(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 Document MakeDocument(int size)</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.Int32</span></td> |
| <td><span class="parametername">size</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Documents.Document</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_MakeDocument_System_Int32_">DocMaker.MakeDocument(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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeConverter_Lucene_Net_Spatial_SpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeConverter(Lucene.Net.Spatial.SpatialStrategy%2CLucene.Net.Benchmarks.ByTask.Utils.Config%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L137">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeConverter_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeConverter*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeConverter_Lucene_Net_Spatial_SpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_System_String_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeConverter(Lucene.Net.Spatial.SpatialStrategy,Lucene.Net.Benchmarks.ByTask.Utils.Config,System.String)">MakeShapeConverter(SpatialStrategy, Config, String)</h4> |
| <div class="markdown level1 summary"><p>Optionally converts points to circles, and optionally bbox'es result.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static IShapeConverter MakeShapeConverter(SpatialStrategy spatialStrategy, Config config, string configKeyPrefix)</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.Spatial.SpatialStrategy</span></td> |
| <td><span class="parametername">spatialStrategy</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Utils.Config.html">Config</a></td> |
| <td><span class="parametername">config</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">configKeyPrefix</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><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.IShapeConverter.html">IShapeConverter</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeFromString_Lucene_Net_Spatial_SpatialStrategy_System_String_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeFromString(Lucene.Net.Spatial.SpatialStrategy%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L211">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeFromString_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeFromString*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeShapeFromString_Lucene_Net_Spatial_SpatialStrategy_System_String_System_String_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeShapeFromString(Lucene.Net.Spatial.SpatialStrategy,System.String,System.String)">MakeShapeFromString(SpatialStrategy, String, String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static IShape MakeShapeFromString(SpatialStrategy strategy, string name, string shapeStr)</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.Spatial.SpatialStrategy</span></td> |
| <td><span class="parametername">strategy</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">shapeStr</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">Spatial4n.Core.Shapes.IShape</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy(Lucene.Net.Benchmarks.ByTask.Utils.Config)%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L68">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy(Lucene.Net.Benchmarks.ByTask.Utils.Config)">MakeSpatialStrategy(Config)</h4> |
| <div class="markdown level1 summary"><p>Builds a <span class="xref">Lucene.Net.Spatial.SpatialStrategy</span> from configuration 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 SpatialStrategy MakeSpatialStrategy(Config config)</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.Benchmarks.ByTask.Utils.Config.html">Config</a></td> |
| <td><span class="parametername">config</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.Spatial.SpatialStrategy</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_System_Collections_Generic_IDictionary_System_String_System_String__Spatial4n_Core_Context_SpatialContext_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy(Lucene.Net.Benchmarks.ByTask.Utils.Config%2CSystem.Collections.Generic.IDictionary%7BSystem.String%2CSystem.String%7D%2CSpatial4n.Core.Context.SpatialContext)%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L93">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_MakeSpatialStrategy_Lucene_Net_Benchmarks_ByTask_Utils_Config_System_Collections_Generic_IDictionary_System_String_System_String__Spatial4n_Core_Context_SpatialContext_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.MakeSpatialStrategy(Lucene.Net.Benchmarks.ByTask.Utils.Config,System.Collections.Generic.IDictionary{System.String,System.String},Spatial4n.Core.Context.SpatialContext)">MakeSpatialStrategy(Config, IDictionary<String, String>, SpatialContext)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected virtual SpatialStrategy MakeSpatialStrategy(Config config, IDictionary<string, string> configMap, SpatialContext ctx)</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.Benchmarks.ByTask.Utils.Config.html">Config</a></td> |
| <td><span class="parametername">config</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.IDictionary</span><<span class="xref">System.String</span>, <span class="xref">System.String</span>></td> |
| <td><span class="parametername">configMap</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Spatial4n.Core.Context.SpatialContext</span></td> |
| <td><span class="parametername">ctx</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.Spatial.SpatialStrategy</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_SetConfig_Lucene_Net_Benchmarks_ByTask_Utils_Config_Lucene_Net_Benchmarks_ByTask_Feeds_ContentSource_.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.SetConfig(Lucene.Net.Benchmarks.ByTask.Utils.Config%2CLucene.Net.Benchmarks.ByTask.Feeds.ContentSource)%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.Benchmark/ByTask/Feeds/SpatialDocMaker.cs/#L120">View Source</a> |
| </span> |
| <a id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_SetConfig_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.SetConfig*"></a> |
| <h4 id="Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker_SetConfig_Lucene_Net_Benchmarks_ByTask_Utils_Config_Lucene_Net_Benchmarks_ByTask_Feeds_ContentSource_" data-uid="Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker.SetConfig(Lucene.Net.Benchmarks.ByTask.Utils.Config,Lucene.Net.Benchmarks.ByTask.Feeds.ContentSource)">SetConfig(Config, ContentSource)</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 SetConfig(Config config, ContentSource source)</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.Benchmarks.ByTask.Utils.Config.html">Config</a></td> |
| <td><span class="parametername">config</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.ContentSource.html">ContentSource</a></td> |
| <td><span class="parametername">source</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Benchmarks.ByTask.Feeds.DocMaker.html#Lucene_Net_Benchmarks_ByTask_Feeds_DocMaker_SetConfig_Lucene_Net_Benchmarks_ByTask_Utils_Config_Lucene_Net_Benchmarks_ByTask_Feeds_ContentSource_">DocMaker.SetConfig(Config, ContentSource)</a></div> |
| <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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Benchmarks_ByTask_Feeds_SpatialDocMaker.md&value=---%0Auid%3A%20Lucene.Net.Benchmarks.ByTask.Feeds.SpatialDocMaker%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.Benchmark/ByTask/Feeds/SpatialDocMaker.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> |