blob: 6e275f7592bcd57d99b985ac71f59c908cfb6aea [file] [log] [blame]
<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>Class RandomIndexWriter
| Apache Lucene.NET 4.8.0-beta00010 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class RandomIndexWriter
| 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="test-framework/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.Index.RandomIndexWriter">
<h1 id="Lucene_Net_Index_RandomIndexWriter" data-uid="Lucene.Net.Index.RandomIndexWriter" class="text-break">Class RandomIndexWriter
</h1>
<div class="markdown level0 summary"><p>Silly class that randomizes the indexing experience. EG
it may swap in a different merge policy/scheduler; may
commit periodically; may or may not forceMerge in the end,
may flush by doc count instead of RAM, etc.</p>
</div>
<div class="markdown level0 conceptual"></div>
<div class="inheritance">
<h5>Inheritance</h5>
<div class="level0"><span class="xref">System.Object</span></div>
<div class="level1"><span class="xref">RandomIndexWriter</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>
<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.Index.html">Lucene.Net.Index</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.TestFramework.dll</h6>
<h5 id="Lucene_Net_Index_RandomIndexWriter_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public class RandomIndexWriter : 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_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.%23ctor(System.Random%2CLucene.Net.Store.Directory)%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.TestFramework/Index/RandomIndexWriter.cs/#L84">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter__ctor_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor(System.Random,Lucene.Net.Store.Directory)">RandomIndexWriter(Random, Directory)</h4>
<div class="markdown level1 summary"><p>Create a <a class="xref" href="Lucene.Net.Index.RandomIndexWriter.html">RandomIndexWriter</a> with a random config: Uses <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_TEST_VERSION_CURRENT">TEST_VERSION_CURRENT</a> and <a class="xref" href="Lucene.Net.Analysis.MockAnalyzer.html">MockAnalyzer</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RandomIndexWriter(Random r, Directory dir)</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.Random</span></td>
<td><span class="parametername">r</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>
</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_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.%23ctor(System.Random%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.TestFramework/Index/RandomIndexWriter.cs/#L92">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter__ctor_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor(System.Random,Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer)">RandomIndexWriter(Random, Directory, Analyzer)</h4>
<div class="markdown level1 summary"><p>Create a <a class="xref" href="Lucene.Net.Index.RandomIndexWriter.html">RandomIndexWriter</a> with a random config: Uses <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_TEST_VERSION_CURRENT">TEST_VERSION_CURRENT</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RandomIndexWriter(Random r, Directory dir, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">r</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">a</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_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.%23ctor(System.Random%2CLucene.Net.Store.Directory%2CLucene.Net.Index.IndexWriterConfig)%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.TestFramework/Index/RandomIndexWriter.cs/#L160">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter__ctor_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor(System.Random,Lucene.Net.Store.Directory,Lucene.Net.Index.IndexWriterConfig)">RandomIndexWriter(Random, Directory, IndexWriterConfig)</h4>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Lucene.Net.Index.RandomIndexWriter.html">RandomIndexWriter</a> with the provided config </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RandomIndexWriter(Random r, Directory dir, IndexWriterConfig c)</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.Random</span></td>
<td><span class="parametername">r</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.Index.IndexWriterConfig</span></td>
<td><span class="parametername">c</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_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.%23ctor(System.Random%2CLucene.Net.Store.Directory%2CLucene.Net.Util.LuceneVersion%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.TestFramework/Index/RandomIndexWriter.cs/#L100">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter__ctor_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter__ctor_System_Random_Lucene_Net_Store_Directory_Lucene_Net_Util_LuceneVersion_Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Index.RandomIndexWriter.#ctor(System.Random,Lucene.Net.Store.Directory,Lucene.Net.Util.LuceneVersion,Lucene.Net.Analysis.Analyzer)">RandomIndexWriter(Random, Directory, LuceneVersion, Analyzer)</h4>
<div class="markdown level1 summary"><p>Creates a <a class="xref" href="Lucene.Net.Index.RandomIndexWriter.html">RandomIndexWriter</a> with a random config.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public RandomIndexWriter(Random r, Directory dir, LuceneVersion v, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">r</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.Util.LuceneVersion</span></td>
<td><span class="parametername">v</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">a</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_Index_RandomIndexWriter_DoRandomForceMerge.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.DoRandomForceMerge%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.TestFramework/Index/RandomIndexWriter.cs/#L408">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_DoRandomForceMerge_" data-uid="Lucene.Net.Index.RandomIndexWriter.DoRandomForceMerge*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_DoRandomForceMerge" data-uid="Lucene.Net.Index.RandomIndexWriter.DoRandomForceMerge">DoRandomForceMerge</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 bool DoRandomForceMerge { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Index_RandomIndexWriter_DoRandomForceMergeAssert.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.DoRandomForceMergeAssert%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.TestFramework/Index/RandomIndexWriter.cs/#L414">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_DoRandomForceMergeAssert_" data-uid="Lucene.Net.Index.RandomIndexWriter.DoRandomForceMergeAssert*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_DoRandomForceMergeAssert" data-uid="Lucene.Net.Index.RandomIndexWriter.DoRandomForceMergeAssert">DoRandomForceMergeAssert</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 bool DoRandomForceMergeAssert { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Boolean</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Index_RandomIndexWriter_IndexWriter.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.IndexWriter%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.TestFramework/Index/RandomIndexWriter.cs/#L39">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_IndexWriter_" data-uid="Lucene.Net.Index.RandomIndexWriter.IndexWriter*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_IndexWriter" data-uid="Lucene.Net.Index.RandomIndexWriter.IndexWriter">IndexWriter</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 IndexWriter IndexWriter { get; set; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexWriter</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_Index_RandomIndexWriter_MaxDoc.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.MaxDoc%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.TestFramework/Index/RandomIndexWriter.cs/#L390">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_MaxDoc_" data-uid="Lucene.Net.Index.RandomIndexWriter.MaxDoc*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_MaxDoc" data-uid="Lucene.Net.Index.RandomIndexWriter.MaxDoc">MaxDoc</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 int MaxDoc { 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.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_Index_RandomIndexWriter_NumDocs.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.NumDocs%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.TestFramework/Index/RandomIndexWriter.cs/#L387">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_NumDocs_" data-uid="Lucene.Net.Index.RandomIndexWriter.NumDocs*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_NumDocs" data-uid="Lucene.Net.Index.RandomIndexWriter.NumDocs">NumDocs</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 int NumDocs { 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.Int32</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-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Index_RandomIndexWriter_AddDocument_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.AddDocument(System.Collections.Generic.IEnumerable%7BLucene.Net.Index.IIndexableField%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L181">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_AddDocument_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocument*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_AddDocument_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocument(System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField})">AddDocument(IEnumerable&lt;IIndexableField&gt;)</h4>
<div class="markdown level1 summary"><p>Adds a Document. </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 AddDocument(IEnumerable&lt;IIndexableField&gt; doc)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">Lucene.Net.Index.IIndexableField</span>&gt;</td>
<td><span class="parametername">doc</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Index_RandomIndexWriter_AddDocument_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField___seealso">See Also</h5>
<div class="seealso">
<div><span class="xref">Lucene.Net.Index.IndexWriter.AddDocument(System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField})</span></div>
</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_Index_RandomIndexWriter_AddDocument_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__Lucene_Net_Analysis_Analyzer_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.AddDocument(System.Collections.Generic.IEnumerable%7BLucene.Net.Index.IIndexableField%7D%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.TestFramework/Index/RandomIndexWriter.cs/#L186">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_AddDocument_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocument*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_AddDocument_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__Lucene_Net_Analysis_Analyzer_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocument(System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField},Lucene.Net.Analysis.Analyzer)">AddDocument(IEnumerable&lt;IIndexableField&gt;, Analyzer)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void AddDocument(IEnumerable&lt;IIndexableField&gt; doc, Analyzer a)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">Lucene.Net.Index.IIndexableField</span>&gt;</td>
<td><span class="parametername">doc</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Analysis.Analyzer</span></td>
<td><span class="parametername">a</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_Index_RandomIndexWriter_AddDocuments_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField___.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.AddDocuments(System.Collections.Generic.IEnumerable%7BSystem.Collections.Generic.IEnumerable%7BLucene.Net.Index.IIndexableField%7D%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L281">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_AddDocuments_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocuments*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_AddDocuments_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField___" data-uid="Lucene.Net.Index.RandomIndexWriter.AddDocuments(System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField}})">AddDocuments(IEnumerable&lt;IEnumerable&lt;IIndexableField&gt;&gt;)</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 AddDocuments(IEnumerable&lt;IEnumerable&lt;IIndexableField&gt;&gt; docs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">Lucene.Net.Index.IIndexableField</span>&gt;&gt;</td>
<td><span class="parametername">docs</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_Index_RandomIndexWriter_AddIndexes_Lucene_Net_Index_IndexReader___.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.AddIndexes(Lucene.Net.Index.IndexReader%5B%5D)%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.TestFramework/Index/RandomIndexWriter.cs/#L369">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_AddIndexes_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddIndexes*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_AddIndexes_Lucene_Net_Index_IndexReader___" data-uid="Lucene.Net.Index.RandomIndexWriter.AddIndexes(Lucene.Net.Index.IndexReader[])">AddIndexes(IndexReader[])</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 AddIndexes(params IndexReader[] readers)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexReader</span>[]</td>
<td><span class="parametername">readers</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_Index_RandomIndexWriter_AddIndexes_Lucene_Net_Store_Directory___.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.AddIndexes(Lucene.Net.Store.Directory%5B%5D)%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.TestFramework/Index/RandomIndexWriter.cs/#L366">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_AddIndexes_" data-uid="Lucene.Net.Index.RandomIndexWriter.AddIndexes*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_AddIndexes_Lucene_Net_Store_Directory___" data-uid="Lucene.Net.Index.RandomIndexWriter.AddIndexes(Lucene.Net.Store.Directory[])">AddIndexes(Directory[])</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 AddIndexes(params Directory[] dirs)</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.Directory</span>[]</td>
<td><span class="parametername">dirs</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_Index_RandomIndexWriter_Commit.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.Commit%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.TestFramework/Index/RandomIndexWriter.cs/#L384">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_Commit_" data-uid="Lucene.Net.Index.RandomIndexWriter.Commit*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_Commit" data-uid="Lucene.Net.Index.RandomIndexWriter.Commit">Commit()</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 Commit()</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_Index_RandomIndexWriter_DeleteAll.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.DeleteAll%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.TestFramework/Index/RandomIndexWriter.cs/#L393">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_DeleteAll_" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteAll*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_DeleteAll" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteAll">DeleteAll()</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 DeleteAll()</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_Index_RandomIndexWriter_DeleteDocuments_Lucene_Net_Index_Term_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.DeleteDocuments(Lucene.Net.Index.Term)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L378">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_DeleteDocuments_" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteDocuments*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_DeleteDocuments_Lucene_Net_Index_Term_" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteDocuments(Lucene.Net.Index.Term)">DeleteDocuments(Term)</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 DeleteDocuments(Term term)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">term</span></td>
<td></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_Index_RandomIndexWriter_DeleteDocuments_Lucene_Net_Search_Query_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.DeleteDocuments(Lucene.Net.Search.Query)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L381">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_DeleteDocuments_" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteDocuments*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_DeleteDocuments_Lucene_Net_Search_Query_" data-uid="Lucene.Net.Index.RandomIndexWriter.DeleteDocuments(Lucene.Net.Search.Query)">DeleteDocuments(Query)</h4>
<div class="markdown level1 summary"></div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public virtual void DeleteDocuments(Query q)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Search.Query</span></td>
<td><span class="parametername">q</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Index_RandomIndexWriter_Dispose.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.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.TestFramework/Index/RandomIndexWriter.cs/#L493">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_Dispose_" data-uid="Lucene.Net.Index.RandomIndexWriter.Dispose*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_Dispose" data-uid="Lucene.Net.Index.RandomIndexWriter.Dispose">Dispose()</h4>
<div class="markdown level1 summary"><p>Dispose this writer. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
</div>
<h5 id="Lucene_Net_Index_RandomIndexWriter_Dispose_seealso">See Also</h5>
<div class="seealso">
<div><span class="xref">Lucene.Net.Index.IndexWriter.Dispose</span></div>
</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_Index_RandomIndexWriter_Dispose_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.Dispose(System.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.TestFramework/Index/RandomIndexWriter.cs/#L502">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_Dispose_" data-uid="Lucene.Net.Index.RandomIndexWriter.Dispose*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_Dispose_System_Boolean_" data-uid="Lucene.Net.Index.RandomIndexWriter.Dispose(System.Boolean)">Dispose(Boolean)</h4>
<div class="markdown level1 summary"><p>Dispose this writer. </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 Dispose(bool disposing)</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.Boolean</span></td>
<td><span class="parametername">disposing</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Index_RandomIndexWriter_Dispose_System_Boolean__seealso">See Also</h5>
<div class="seealso">
<div><span class="xref">Lucene.Net.Index.IndexWriter.Dispose(System.Boolean)</span></div>
</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_Index_RandomIndexWriter_ForceMerge_System_Int32_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.ForceMerge(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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L522">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_ForceMerge_" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMerge*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_ForceMerge_System_Int32_" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMerge(System.Int32)">ForceMerge(Int32)</h4>
<div class="markdown level1 summary"><p>Forces a forceMerge.
<p>
NOTE: this should be avoided in tests unless absolutely necessary,
as it will result in less test coverage. </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 ForceMerge(int maxSegmentCount)</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">maxSegmentCount</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 id="Lucene_Net_Index_RandomIndexWriter_ForceMerge_System_Int32__seealso">See Also</h5>
<div class="seealso">
<div><span class="xref">Lucene.Net.Index.IndexWriter.ForceMerge(System.Int32)</span></div>
</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_Index_RandomIndexWriter_ForceMergeDeletes.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes%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.TestFramework/Index/RandomIndexWriter.cs/#L405">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_ForceMergeDeletes_" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_ForceMergeDeletes" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes">ForceMergeDeletes()</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 ForceMergeDeletes()</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_Index_RandomIndexWriter_ForceMergeDeletes_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes(System.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.TestFramework/Index/RandomIndexWriter.cs/#L402">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_ForceMergeDeletes_" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_ForceMergeDeletes_System_Boolean_" data-uid="Lucene.Net.Index.RandomIndexWriter.ForceMergeDeletes(System.Boolean)">ForceMergeDeletes(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">public virtual void ForceMergeDeletes(bool doWait)</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.Boolean</span></td>
<td><span class="parametername">doWait</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_Index_RandomIndexWriter_GetReader.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.GetReader%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.TestFramework/Index/RandomIndexWriter.cs/#L396">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_GetReader_" data-uid="Lucene.Net.Index.RandomIndexWriter.GetReader*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_GetReader" data-uid="Lucene.Net.Index.RandomIndexWriter.GetReader">GetReader()</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 DirectoryReader GetReader()</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.Index.DirectoryReader</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_Index_RandomIndexWriter_GetReader_System_Boolean_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.GetReader(System.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.TestFramework/Index/RandomIndexWriter.cs/#L448">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_GetReader_" data-uid="Lucene.Net.Index.RandomIndexWriter.GetReader*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_GetReader_System_Boolean_" data-uid="Lucene.Net.Index.RandomIndexWriter.GetReader(System.Boolean)">GetReader(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">public virtual DirectoryReader GetReader(bool applyDeletions)</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.Boolean</span></td>
<td><span class="parametername">applyDeletions</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.DirectoryReader</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_Index_RandomIndexWriter_MockIndexWriter_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_Lucene_Net_Index_ITestPoint_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.MockIndexWriter(Lucene.Net.Store.Directory%2CLucene.Net.Index.IndexWriterConfig%2CLucene.Net.Index.ITestPoint)%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.TestFramework/Index/RandomIndexWriter.cs/#L72">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_MockIndexWriter_" data-uid="Lucene.Net.Index.RandomIndexWriter.MockIndexWriter*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_MockIndexWriter_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_Lucene_Net_Index_ITestPoint_" data-uid="Lucene.Net.Index.RandomIndexWriter.MockIndexWriter(Lucene.Net.Store.Directory,Lucene.Net.Index.IndexWriterConfig,Lucene.Net.Index.ITestPoint)">MockIndexWriter(Directory, IndexWriterConfig, ITestPoint)</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 IndexWriter MockIndexWriter(Directory dir, IndexWriterConfig conf, ITestPoint testPoint)</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.Directory</span></td>
<td><span class="parametername">dir</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexWriterConfig</span></td>
<td><span class="parametername">conf</span></td>
<td></td>
</tr>
<tr>
<td><a class="xref" href="Lucene.Net.Index.ITestPoint.html">ITestPoint</a></td>
<td><span class="parametername">testPoint</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.IndexWriter</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_Index_RandomIndexWriter_MockIndexWriter_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_System_Random_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.MockIndexWriter(Lucene.Net.Store.Directory%2CLucene.Net.Index.IndexWriterConfig%2CSystem.Random)%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.TestFramework/Index/RandomIndexWriter.cs/#L47">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_MockIndexWriter_" data-uid="Lucene.Net.Index.RandomIndexWriter.MockIndexWriter*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_MockIndexWriter_Lucene_Net_Store_Directory_Lucene_Net_Index_IndexWriterConfig_System_Random_" data-uid="Lucene.Net.Index.RandomIndexWriter.MockIndexWriter(Lucene.Net.Store.Directory,Lucene.Net.Index.IndexWriterConfig,System.Random)">MockIndexWriter(Directory, IndexWriterConfig, Random)</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 IndexWriter MockIndexWriter(Directory dir, IndexWriterConfig conf, Random r)</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.Directory</span></td>
<td><span class="parametername">dir</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Index.IndexWriterConfig</span></td>
<td><span class="parametername">conf</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Random</span></td>
<td><span class="parametername">r</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.IndexWriter</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_Index_RandomIndexWriter_UpdateBinaryDocValue_Lucene_Net_Index_Term_System_String_Lucene_Net_Util_BytesRef_.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.UpdateBinaryDocValue(Lucene.Net.Index.Term%2CSystem.String%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.TestFramework/Index/RandomIndexWriter.cs/#L375">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_UpdateBinaryDocValue_" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateBinaryDocValue*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_UpdateBinaryDocValue_Lucene_Net_Index_Term_System_String_Lucene_Net_Util_BytesRef_" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateBinaryDocValue(Lucene.Net.Index.Term,System.String,Lucene.Net.Util.BytesRef)">UpdateBinaryDocValue(Term, String, BytesRef)</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 UpdateBinaryDocValue(Term term, string field, BytesRef value)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">term</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">Lucene.Net.Util.BytesRef</span></td>
<td><span class="parametername">value</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_Index_RandomIndexWriter_UpdateDocument_Lucene_Net_Index_Term_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.UpdateDocument(Lucene.Net.Index.Term%2CSystem.Collections.Generic.IEnumerable%7BLucene.Net.Index.IIndexableField%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L296">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_UpdateDocument_" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateDocument*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_UpdateDocument_Lucene_Net_Index_Term_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField__" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateDocument(Lucene.Net.Index.Term,System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField})">UpdateDocument(Term, IEnumerable&lt;IIndexableField&gt;)</h4>
<div class="markdown level1 summary"><p>Updates a document. </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 UpdateDocument(Term t, IEnumerable&lt;IIndexableField&gt; doc)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">t</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">Lucene.Net.Index.IIndexableField</span>&gt;</td>
<td><span class="parametername">doc</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_Index_RandomIndexWriter_UpdateDocuments_Lucene_Net_Index_Term_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField___.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.UpdateDocuments(Lucene.Net.Index.Term%2CSystem.Collections.Generic.IEnumerable%7BSystem.Collections.Generic.IEnumerable%7BLucene.Net.Index.IIndexableField%7D%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L287">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_UpdateDocuments_" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateDocuments*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_UpdateDocuments_Lucene_Net_Index_Term_System_Collections_Generic_IEnumerable_System_Collections_Generic_IEnumerable_Lucene_Net_Index_IIndexableField___" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateDocuments(Lucene.Net.Index.Term,System.Collections.Generic.IEnumerable{System.Collections.Generic.IEnumerable{Lucene.Net.Index.IIndexableField}})">UpdateDocuments(Term, IEnumerable&lt;IEnumerable&lt;IIndexableField&gt;&gt;)</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 UpdateDocuments(Term delTerm, IEnumerable&lt;IEnumerable&lt;IIndexableField&gt;&gt; docs)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">delTerm</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<span class="xref">Lucene.Net.Index.IIndexableField</span>&gt;&gt;</td>
<td><span class="parametername">docs</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_Index_RandomIndexWriter_UpdateNumericDocValue_Lucene_Net_Index_Term_System_String_System_Nullable_System_Int64__.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter.UpdateNumericDocValue(Lucene.Net.Index.Term%2CSystem.String%2CSystem.Nullable%7BSystem.Int64%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/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Index/RandomIndexWriter.cs/#L372">View Source</a>
</span>
<a id="Lucene_Net_Index_RandomIndexWriter_UpdateNumericDocValue_" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateNumericDocValue*"></a>
<h4 id="Lucene_Net_Index_RandomIndexWriter_UpdateNumericDocValue_Lucene_Net_Index_Term_System_String_System_Nullable_System_Int64__" data-uid="Lucene.Net.Index.RandomIndexWriter.UpdateNumericDocValue(Lucene.Net.Index.Term,System.String,System.Nullable{System.Int64})">UpdateNumericDocValue(Term, String, Nullable&lt;Int64&gt;)</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 UpdateNumericDocValue(Term term, string field, long? value)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Name</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">Lucene.Net.Index.Term</span></td>
<td><span class="parametername">term</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.String</span></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
<tr>
<td><span class="xref">System.Nullable</span>&lt;<span class="xref">System.Int64</span>&gt;</td>
<td><span class="parametername">value</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_Index_RandomIndexWriter.md&amp;value=---%0Auid%3A%20Lucene.Net.Index.RandomIndexWriter%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.TestFramework/Index/RandomIndexWriter.cs/#L37" 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>