| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class SpatialArgsParser |
| | Apache Lucene.NET 4.8.0-beta00014 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class SpatialArgsParser |
| | Apache Lucene.NET 4.8.0-beta00014 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="spatial/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-beta00014/">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.Spatial.Queries.SpatialArgsParser"> |
| |
| |
| <h1 id="Lucene_Net_Spatial_Queries_SpatialArgsParser" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser" class="text-break">Class SpatialArgsParser |
| </h1> |
| <div class="markdown level0 summary"><p>Parses a string that usually looks like "OPERATION(SHAPE)" into a <a class="xref" href="Lucene.Net.Spatial.Queries.SpatialArgs.html">SpatialArgs</a> |
| object. The set of operations supported are defined in <a class="xref" href="Lucene.Net.Spatial.Queries.SpatialOperation.html">SpatialOperation</a>, such |
| as "Intersects" being a common one. The shape portion is defined by WKT <span class="xref">Spatial4n.Core.IO.WktShapeParser</span>, |
| but it can be overridden/customized via <a class="xref" href="Lucene.Net.Spatial.Queries.SpatialArgsParser.html#Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseShape_System_String_Spatial4n_Core_Context_SpatialContext_">ParseShape(String, SpatialContext)</a>. |
| There are some optional name-value pair parameters that follow the closing parenthesis. Example:</p> |
| <pre><code> Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025</code></pre> |
| <p><p> |
| In the future it would be good to support something at least semi-standardized like a |
| variant of <a href="http://docs.geoserver.org/latest/en/user/filter/ecql_reference.html#spatial-predicate"> |
| [E]CQL</a>.</p> |
| <div class="lucene-block lucene-experimental">This is a Lucene.NET EXPERIMENTAL API, use at your own risk</div></div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritance"> |
| <h5>Inheritance</h5> |
| <div class="level0"><span class="xref">System.Object</span></div> |
| <div class="level1"><span class="xref">SpatialArgsParser</span></div> |
| </div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <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.Spatial.Queries.html">Lucene.Net.Spatial.Queries</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.Spatial.dll</h6> |
| <h5 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class SpatialArgsParser</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_DIST_ERR.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.DIST_ERR%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L48">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_DIST_ERR" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.DIST_ERR">DIST_ERR</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 const string DIST_ERR = "distErr"</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_DIST_ERR_PCT.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.DIST_ERR_PCT%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L47">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_DIST_ERR_PCT" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.DIST_ERR_PCT">DIST_ERR_PCT</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 const string DIST_ERR_PCT = "distErrPct"</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_NewSpatialArgs_Lucene_Net_Spatial_Queries_SpatialOperation_Spatial4n_Core_Shapes_IShape_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.NewSpatialArgs(Lucene.Net.Spatial.Queries.SpatialOperation%2CSpatial4n.Core.Shapes.IShape)%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L116">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_NewSpatialArgs_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.NewSpatialArgs*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_NewSpatialArgs_Lucene_Net_Spatial_Queries_SpatialOperation_Spatial4n_Core_Shapes_IShape_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.NewSpatialArgs(Lucene.Net.Spatial.Queries.SpatialOperation,Spatial4n.Core.Shapes.IShape)">NewSpatialArgs(SpatialOperation, IShape)</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 SpatialArgs NewSpatialArgs(SpatialOperation op, IShape shape)</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.Spatial.Queries.SpatialOperation.html">SpatialOperation</a></td> |
| <td><span class="parametername">op</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Spatial4n.Core.Shapes.IShape</span></td> |
| <td><span class="parametername">shape</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.Spatial.Queries.SpatialArgs.html">SpatialArgs</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_Parse_System_String_Spatial4n_Core_Context_SpatialContext_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.Parse(System.String%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L76">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_Parse_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.Parse*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_Parse_System_String_Spatial4n_Core_Context_SpatialContext_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.Parse(System.String,Spatial4n.Core.Context.SpatialContext)">Parse(String, SpatialContext)</h4> |
| <div class="markdown level1 summary"><p>Parses a string such as "Intersects(ENVELOPE(-10,-8,22,20)) distErrPct=0.025".</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual SpatialArgs Parse(string v, 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><span class="xref">System.String</span></td> |
| <td><span class="parametername">v</span></td> |
| <td><p>The string to parse. Mandatory.</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">Spatial4n.Core.Context.SpatialContext</span></td> |
| <td><span class="parametername">ctx</span></td> |
| <td><p>The spatial context. Mandatory.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Spatial.Queries.SpatialArgs.html">SpatialArgs</a></td> |
| <td><p>Not null.</p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="exceptions">Exceptions</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Condition</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.ArgumentException</span></td> |
| <td><p>if the parameters don't make sense or an add-on parameter is unknown</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">Spatial4n.Core.Exceptions.ParseException</span></td> |
| <td><p>If there is a problem parsing the string</p> |
| </td> |
| </tr> |
| <tr> |
| <td><span class="xref">Spatial4n.Core.Exceptions.InvalidShapeException</span></td> |
| <td><p>When the coordinates are invalid for the shape</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseMap_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseMap(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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L151">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseMap_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseMap*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseMap_System_String_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseMap(System.String)">ParseMap(String)</h4> |
| <div class="markdown level1 summary"><p>Parses "a=b c=d f" (whitespace separated) into name-value pairs. If there |
| is no '=' as in 'f' above then it's short for f=f.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected static IDictionary<string, string> ParseMap(string body)</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">body</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.IDictionary</span><<span class="xref">System.String</span>, <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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseShape_System_String_Spatial4n_Core_Context_SpatialContext_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseShape(System.String%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L131">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseShape_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseShape*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ParseShape_System_String_Spatial4n_Core_Context_SpatialContext_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ParseShape(System.String,Spatial4n.Core.Context.SpatialContext)">ParseShape(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 IShape ParseShape(string str, 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><span class="xref">System.String</span></td> |
| <td><span class="parametername">str</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">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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadBool_System_String_System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadBool(System.String%2CSystem.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L142">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadBool_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadBool*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadBool_System_String_System_Boolean_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadBool(System.String,System.Boolean)">ReadBool(String, Boolean)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected static bool ReadBool(string v, bool defaultValue)</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">v</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">defaultValue</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> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadDouble_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadDouble(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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L137">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadDouble_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadDouble*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadDouble_System_String_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadDouble(System.String)">ReadDouble(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">protected static double? ReadDouble(string v)</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">v</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.Nullable</span><<span class="xref">System.Double</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadNameValuePairs_Lucene_Net_Spatial_Queries_SpatialArgs_System_Collections_Generic_IDictionary_System_String_System_String__.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadNameValuePairs(Lucene.Net.Spatial.Queries.SpatialArgs%2CSystem.Collections.Generic.IDictionary%7BSystem.String%2CSystem.String%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L121">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadNameValuePairs_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadNameValuePairs*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_ReadNameValuePairs_Lucene_Net_Spatial_Queries_SpatialArgs_System_Collections_Generic_IDictionary_System_String_System_String__" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.ReadNameValuePairs(Lucene.Net.Spatial.Queries.SpatialArgs,System.Collections.Generic.IDictionary{System.String,System.String})">ReadNameValuePairs(SpatialArgs, IDictionary<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">protected virtual void ReadNameValuePairs(SpatialArgs args, IDictionary<string, string> nameValPairs)</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.Spatial.Queries.SpatialArgs.html">SpatialArgs</a></td> |
| <td><span class="parametername">args</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">nameValPairs</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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser_WriteSpatialArgs_Lucene_Net_Spatial_Queries_SpatialArgs_.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser.WriteSpatialArgs(Lucene.Net.Spatial.Queries.SpatialArgs)%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L53">View Source</a> |
| </span> |
| <a id="Lucene_Net_Spatial_Queries_SpatialArgsParser_WriteSpatialArgs_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.WriteSpatialArgs*"></a> |
| <h4 id="Lucene_Net_Spatial_Queries_SpatialArgsParser_WriteSpatialArgs_Lucene_Net_Spatial_Queries_SpatialArgs_" data-uid="Lucene.Net.Spatial.Queries.SpatialArgsParser.WriteSpatialArgs(Lucene.Net.Spatial.Queries.SpatialArgs)">WriteSpatialArgs(SpatialArgs)</h4> |
| <div class="markdown level1 summary"><p>Writes a close approximation to the parsed input format.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public static string WriteSpatialArgs(SpatialArgs args)</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.Spatial.Queries.SpatialArgs.html">SpatialArgs</a></td> |
| <td><span class="parametername">args</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| </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-beta00014/websites/apidocs/apiSpec/new?filename=Lucene_Net_Spatial_Queries_SpatialArgsParser.md&value=---%0Auid%3A%20Lucene.Net.Spatial.Queries.SpatialArgsParser%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/docs/code-snippets-4/src/Lucene.Net.Spatial/Query/SpatialArgsParser.cs/#L45" 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 © 2021 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> |