blob: b3ceb978964058f8ac51442c16429d3b54da482f [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 Document
| Apache Lucene.NET 4.8.0-beta00013 Documentation </title>
<meta name="viewport" content="width=device-width">
<meta name="title" content="Class Document
| Apache Lucene.NET 4.8.0-beta00013 Documentation ">
<meta name="generator" content="docfx 2.56.2.0">
<link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css">
<link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css">
<meta property="docfx:navrel" content="toc.html">
<meta property="docfx:tocrel" content="core/toc.html">
<meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/">
</head>
<body data-spy="scroll" data-target="#affix" data-offset="120">
<span id="forkongithub"><a href="https://github.com/apache/lucenenet" target="_blank">Fork me on GitHub</a></span>
<div id="wrapper">
<header>
<nav id="autocollapse" class="navbar ng-scope" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">
<img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/lucene-net-color.png" alt="">
</a>
</div>
<div class="collapse navbar-collapse" id="navbar">
<form class="navbar-form navbar-right" role="search" id="search">
<div class="form-group">
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
</div>
</form>
</div>
</div>
</nav>
<div class="subnav navbar navbar-default">
<div class="container hide-when-search">
<ul class="level0 breadcrumb">
<li>
<a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a>
<span id="breadcrumb">
<ul class="breadcrumb">
<li></li>
</ul>
</span>
</li>
</ul>
</div>
</div>
</header>
<div class="container body-content">
<div id="search-results">
<div class="search-list"></div>
<div class="sr-items">
<p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
</div>
<ul id="pagination"></ul>
</div>
</div>
<div role="main" class="container body-content hide-when-search">
<div class="sidenav hide-when-search">
<a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
<div class="sidetoggle collapse" id="sidetoggle">
<div id="sidetoc"></div>
</div>
</div>
<div class="article row grid-right">
<div class="col-md-10">
<article class="content wrap" id="_content" data-uid="Lucene.Net.Documents.Document">
<h1 id="Lucene_Net_Documents_Document" data-uid="Lucene.Net.Documents.Document" class="text-break">Class Document
</h1>
<div class="markdown level0 summary"><p>Documents are the unit of indexing and search.
<p>
A Document is a set of fields. Each field has a name and a textual value.
A field may be stored (<a class="xref" href="Lucene.Net.Index.IIndexableFieldType.html#Lucene_Net_Index_IIndexableFieldType_IsStored">IsStored</a>) with the document, in which
case it is returned with search hits on the document. Thus each document
should typically contain one or more stored fields which uniquely identify
it.
<p>
Note that fields which are <em>not</em> <a class="xref" href="Lucene.Net.Index.IIndexableFieldType.html#Lucene_Net_Index_IIndexableFieldType_IsStored">IsStored</a> are
<em>not</em> available in documents retrieved from the index, e.g. with
<a class="xref" href="Lucene.Net.Search.ScoreDoc.html#Lucene_Net_Search_ScoreDoc_Doc">Doc</a> or <a class="xref" href="Lucene.Net.Index.IndexReader.html#Lucene_Net_Index_IndexReader_Document_System_Int32_">Document(Int32)</a>.</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">Document</span></div>
</div>
<div classs="implements">
<h5>Implements</h5>
<div><span class="xref">System.Collections.Generic.IEnumerable</span>&lt;<a class="xref" href="Lucene.Net.Index.IIndexableField.html">IIndexableField</a>&gt;</div>
<div><span class="xref">System.Collections.IEnumerable</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>
<h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Documents.html">Lucene.Net.Documents</a></h6>
<h6><strong>Assembly</strong>: Lucene.Net.dll</h6>
<h5 id="Lucene_Net_Documents_Document_syntax">Syntax</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public sealed class Document : IEnumerable&lt;IIndexableField&gt;, IEnumerable</code></pre>
</div>
<h3 id="constructors">Constructors
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document__ctor.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.%23ctor%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L47">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document__ctor_" data-uid="Lucene.Net.Documents.Document.#ctor*"></a>
<h4 id="Lucene_Net_Documents_Document__ctor" data-uid="Lucene.Net.Documents.Document.#ctor">Document()</h4>
<div class="markdown level1 summary"><p>Constructs a new document with no fields. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public Document()</code></pre>
</div>
<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-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_Fields.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.Fields%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L220">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_Fields_" data-uid="Lucene.Net.Documents.Document.Fields*"></a>
<h4 id="Lucene_Net_Documents_Document_Fields" data-uid="Lucene.Net.Documents.Document.Fields">Fields</h4>
<div class="markdown level1 summary"><p>Returns a List of all the fields in a document.
<p>Note that fields which are <em>not</em> stored are
<em>not</em> available in documents retrieved from the
index, e.g. <a class="xref" href="Lucene.Net.Search.IndexSearcher.html#Lucene_Net_Search_IndexSearcher_Doc_System_Int32_">Doc(Int32)</a> or
<a class="xref" href="Lucene.Net.Index.IndexReader.html#Lucene_Net_Index_IndexReader_Document_System_Int32_">Document(Int32)</a>.
</p></p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IList&lt;IIndexableField&gt; Fields { 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.Collections.Generic.IList</span>&lt;<a class="xref" href="Lucene.Net.Index.IIndexableField.html">IIndexableField</a>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="methods">Methods
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_Add_Lucene_Net_Index_IIndexableField_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.Add(Lucene.Net.Index.IIndexableField)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L71">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_Add_" data-uid="Lucene.Net.Documents.Document.Add*"></a>
<h4 id="Lucene_Net_Documents_Document_Add_Lucene_Net_Index_IIndexableField_" data-uid="Lucene.Net.Documents.Document.Add(Lucene.Net.Index.IIndexableField)">Add(IIndexableField)</h4>
<div class="markdown level1 summary"><p>Adds a field to a document. Several fields may be added with
the same name. In this case, if the fields are indexed, their text is
treated as though appended for the purposes of search.</p>
<p> Note that add like the <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveField_System_String_">RemoveField(String)</a> and <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveFields_System_String_">RemoveFields(String)</a> methods only makes sense
prior to adding a document to an index. These methods cannot
be used to change the content of an existing index! In order to achieve this,
a document has to be deleted from an index and a new changed version of that
document has to be added.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void Add(IIndexableField field)</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.Index.IIndexableField.html">IIndexableField</a></td>
<td><span class="parametername">field</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_Get_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.Get(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L261">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_Get_" data-uid="Lucene.Net.Documents.Document.Get*"></a>
<h4 id="Lucene_Net_Documents_Document_Get_System_String_" data-uid="Lucene.Net.Documents.Document.Get(System.String)">Get(String)</h4>
<div class="markdown level1 summary"><p>Returns the string value of the field with the given name if any exist in
this document, or <code>null</code>. If multiple fields exist with this name, this
method returns the first value added. If only binary fields with this name
exist, returns <code>null</code>.
For <a class="xref" href="Lucene.Net.Documents.Int32Field.html">Int32Field</a>, <a class="xref" href="Lucene.Net.Documents.Int64Field.html">Int64Field</a>,
<a class="xref" href="Lucene.Net.Documents.SingleField.html">SingleField</a> and <a class="xref" href="Lucene.Net.Documents.DoubleField.html">DoubleField</a> it returns the string value of the number. If you want
the actual numeric field instance back, use <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_GetField_System_String_">GetField(String)</a>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string Get(string name)</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">name</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>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetBinaryValue_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetBinaryValue(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L158">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetBinaryValue_" data-uid="Lucene.Net.Documents.Document.GetBinaryValue*"></a>
<h4 id="Lucene_Net_Documents_Document_GetBinaryValue_System_String_" data-uid="Lucene.Net.Documents.Document.GetBinaryValue(System.String)">GetBinaryValue(String)</h4>
<div class="markdown level1 summary"><p>Returns an array of bytes for the first (or only) field that has the name
specified as the method parameter. this method will return <code>null</code>
if no binary fields with the specified name are available.
There may be non-binary fields with the same name.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BytesRef GetBinaryValue(string name)</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">name</span></td>
<td><p>the name of the field. </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.Util.BytesRef.html">BytesRef</a></td>
<td><p>a <a class="xref" href="Lucene.Net.Util.BytesRef.html">BytesRef</a> containing the binary field value or <code>null</code> </p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetBinaryValues_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetBinaryValues(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L130">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetBinaryValues_" data-uid="Lucene.Net.Documents.Document.GetBinaryValues*"></a>
<h4 id="Lucene_Net_Documents_Document_GetBinaryValues_System_String_" data-uid="Lucene.Net.Documents.Document.GetBinaryValues(System.String)">GetBinaryValues(String)</h4>
<div class="markdown level1 summary"><p>Returns an array of byte arrays for of the fields that have the name specified
as the method parameter. This method returns an empty
array when there are no matching fields. It never
returns <code>null</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public BytesRef[] GetBinaryValues(string name)</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">name</span></td>
<td><p>the name of the field </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.Util.BytesRef.html">BytesRef</a>[]</td>
<td><p>a <span class="xref">BytesRef[]</span> of binary field values </p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L51">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetEnumerator_" data-uid="Lucene.Net.Documents.Document.GetEnumerator*"></a>
<h4 id="Lucene_Net_Documents_Document_GetEnumerator" data-uid="Lucene.Net.Documents.Document.GetEnumerator">GetEnumerator()</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 IEnumerator&lt;IIndexableField&gt; GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.Generic.IEnumerator</span>&lt;<a class="xref" href="Lucene.Net.Index.IIndexableField.html">IIndexableField</a>&gt;</td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetField_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetField(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L179">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetField_" data-uid="Lucene.Net.Documents.Document.GetField*"></a>
<h4 id="Lucene_Net_Documents_Document_GetField_System_String_" data-uid="Lucene.Net.Documents.Document.GetField(System.String)">GetField(String)</h4>
<div class="markdown level1 summary"><p>Returns a field with the given name if any exist in this document, or
<code>null</code>. If multiple fields exists with this name, this method returns the
first value added.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IIndexableField GetField(string name)</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">name</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.Index.IIndexableField.html">IIndexableField</a></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetFields_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetFields(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L198">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetFields_" data-uid="Lucene.Net.Documents.Document.GetFields*"></a>
<h4 id="Lucene_Net_Documents_Document_GetFields_System_String_" data-uid="Lucene.Net.Documents.Document.GetFields(System.String)">GetFields(String)</h4>
<div class="markdown level1 summary"><p>Returns an array of <a class="xref" href="Lucene.Net.Index.IIndexableField.html">IIndexableField</a>s with the given name.
This method returns an empty array when there are no
matching fields. It never returns <code>null</code>.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public IIndexableField[] GetFields(string name)</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">name</span></td>
<td><p>the name of the field </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.Index.IIndexableField.html">IIndexableField</a>[]</td>
<td><p>a <span class="xref">IndexableField[]</span> array </p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_GetValues_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.GetValues(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L233">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_GetValues_" data-uid="Lucene.Net.Documents.Document.GetValues*"></a>
<h4 id="Lucene_Net_Documents_Document_GetValues_System_String_" data-uid="Lucene.Net.Documents.Document.GetValues(System.String)">GetValues(String)</h4>
<div class="markdown level1 summary"><p>Returns an array of values of the field specified as the method parameter.
This method returns an empty array when there are no
matching fields. It never returns <code>null</code>.
For <a class="xref" href="Lucene.Net.Documents.Int32Field.html">Int32Field</a>, <a class="xref" href="Lucene.Net.Documents.Int64Field.html">Int64Field</a>,
<a class="xref" href="Lucene.Net.Documents.SingleField.html">SingleField</a> and <a class="xref" href="Lucene.Net.Documents.DoubleField.html">DoubleField</a> it returns the string value of the number. If you want
the actual numeric field instances back, use <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_GetFields_System_String_">GetFields(String)</a>. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public string[] GetValues(string name)</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">name</span></td>
<td><p>the name of the field </p>
</td>
</tr>
</tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span>[]</td>
<td><p>a <span class="xref">string[]</span> of field values </p>
</td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_RemoveField_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.RemoveField(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L86">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_RemoveField_" data-uid="Lucene.Net.Documents.Document.RemoveField*"></a>
<h4 id="Lucene_Net_Documents_Document_RemoveField_System_String_" data-uid="Lucene.Net.Documents.Document.RemoveField(System.String)">RemoveField(String)</h4>
<div class="markdown level1 summary"><p>Removes field with the specified name from the document.
If multiple fields exist with this name, this method removes the first field that has been added.
If there is no field with the specified name, the document remains unchanged.</p>
<p> Note that the <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveField_System_String_">RemoveField(String)</a> and <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveFields_System_String_">RemoveFields(String)</a> methods like the add method only make sense
prior to adding a document to an index. These methods cannot
be used to change the content of an existing index! In order to achieve this,
a document has to be deleted from an index and a new changed version of that
document has to be added.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void RemoveField(string name)</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">name</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_RemoveFields_System_String_.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.RemoveFields(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/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L109">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_RemoveFields_" data-uid="Lucene.Net.Documents.Document.RemoveFields*"></a>
<h4 id="Lucene_Net_Documents_Document_RemoveFields_System_String_" data-uid="Lucene.Net.Documents.Document.RemoveFields(System.String)">RemoveFields(String)</h4>
<div class="markdown level1 summary"><p>Removes all fields with the given name from the document.
If there is no field with the specified name, the document remains unchanged.</p>
<p> Note that the <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveField_System_String_">RemoveField(String)</a> and <a class="xref" href="Lucene.Net.Documents.Document.html#Lucene_Net_Documents_Document_RemoveFields_System_String_">RemoveFields(String)</a> methods like the add method only make sense
prior to adding a document to an index. These methods cannot
be used to change the content of an existing index! In order to achieve this,
a document has to be deleted from an index and a new changed version of that
document has to be added.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void RemoveFields(string name)</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">name</span></td>
<td></td>
</tr>
</tbody>
</table>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_ToString.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.ToString%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L275">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_ToString_" data-uid="Lucene.Net.Documents.Document.ToString*"></a>
<h4 id="Lucene_Net_Documents_Document_ToString" data-uid="Lucene.Net.Documents.Document.ToString">ToString()</h4>
<div class="markdown level1 summary"><p>Prints the fields of a document for human consumption. </p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="decalaration">Declaration</h5>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.String</span></td>
<td></td>
</tr>
</tbody>
</table>
<h5 class="overrides">Overrides</h5>
<div><span class="xref">System.Object.ToString()</span></div>
<h3 id="eii">Explicit Interface Implementations
</h3>
<span class="small pull-right mobile-hide">
<span class="divider">|</span>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document_System_Collections_IEnumerable_GetEnumerator.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document.System%23Collections%23IEnumerable%23GetEnumerator%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
</span>
<span class="small pull-right mobile-hide">
<a href="https://github.com/NightOwl888/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L56">View Source</a>
</span>
<a id="Lucene_Net_Documents_Document_System_Collections_IEnumerable_GetEnumerator_" data-uid="Lucene.Net.Documents.Document.System#Collections#IEnumerable#GetEnumerator*"></a>
<h4 id="Lucene_Net_Documents_Document_System_Collections_IEnumerable_GetEnumerator" data-uid="Lucene.Net.Documents.Document.System#Collections#IEnumerable#GetEnumerator">IEnumerable.GetEnumerator()</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">IEnumerator IEnumerable.GetEnumerator()</code></pre>
</div>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-striped table-condensed">
<thead>
<tr>
<th>Type</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td><span class="xref">System.Collections.IEnumerator</span></td>
<td></td>
</tr>
</tbody>
</table>
<h3 id="implements">Implements</h3>
<div>
<span class="xref">System.Collections.Generic.IEnumerable&lt;T&gt;</span>
</div>
<div>
<span class="xref">System.Collections.IEnumerable</span>
</div>
<h3 id="extensionmethods">Extension Methods</h3>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_GetField__1_Lucene_Net_Documents_Document_System_String_">DocumentExtensions.GetField&lt;T&gt;(Document, String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_GetFields__1_Lucene_Net_Documents_Document_System_String_">DocumentExtensions.GetFields&lt;T&gt;(Document, String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddBinaryDocValuesField_Lucene_Net_Documents_Document_System_String_Lucene_Net_Util_BytesRef_">DocumentExtensions.AddBinaryDocValuesField(Document, String, BytesRef)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddDoubleDocValuesField_Lucene_Net_Documents_Document_System_String_System_Double_">DocumentExtensions.AddDoubleDocValuesField(Document, String, Double)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddDoubleField_Lucene_Net_Documents_Document_System_String_System_Double_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddDoubleField(Document, String, Double, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddDoubleField_Lucene_Net_Documents_Document_System_String_System_Double_Lucene_Net_Documents_FieldType_">DocumentExtensions.AddDoubleField(Document, String, Double, FieldType)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddSingleDocValuesField_Lucene_Net_Documents_Document_System_String_System_Single_">DocumentExtensions.AddSingleDocValuesField(Document, String, Single)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddSingleField_Lucene_Net_Documents_Document_System_String_System_Single_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddSingleField(Document, String, Single, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddSingleField_Lucene_Net_Documents_Document_System_String_System_Single_Lucene_Net_Documents_FieldType_">DocumentExtensions.AddSingleField(Document, String, Single, FieldType)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddInt32Field_Lucene_Net_Documents_Document_System_String_System_Int32_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddInt32Field(Document, String, Int32, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddInt32Field_Lucene_Net_Documents_Document_System_String_System_Int32_Lucene_Net_Documents_FieldType_">DocumentExtensions.AddInt32Field(Document, String, Int32, FieldType)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddInt64Field_Lucene_Net_Documents_Document_System_String_System_Int64_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddInt64Field(Document, String, Int64, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddInt64Field_Lucene_Net_Documents_Document_System_String_System_Int64_Lucene_Net_Documents_FieldType_">DocumentExtensions.AddInt64Field(Document, String, Int64, FieldType)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddNumericDocValuesField_Lucene_Net_Documents_Document_System_String_System_Int64_">DocumentExtensions.AddNumericDocValuesField(Document, String, Int64)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddSortedDocValuesField_Lucene_Net_Documents_Document_System_String_Lucene_Net_Util_BytesRef_">DocumentExtensions.AddSortedDocValuesField(Document, String, BytesRef)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddSortedSetDocValuesField_Lucene_Net_Documents_Document_System_String_Lucene_Net_Util_BytesRef_">DocumentExtensions.AddSortedSetDocValuesField(Document, String, BytesRef)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Byte___">DocumentExtensions.AddStoredField(Document, String, Byte[])</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Byte___System_Int32_System_Int32_">DocumentExtensions.AddStoredField(Document, String, Byte[], Int32, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_Lucene_Net_Util_BytesRef_">DocumentExtensions.AddStoredField(Document, String, BytesRef)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_String_">DocumentExtensions.AddStoredField(Document, String, String)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Int32_">DocumentExtensions.AddStoredField(Document, String, Int32)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Single_">DocumentExtensions.AddStoredField(Document, String, Single)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Int64_">DocumentExtensions.AddStoredField(Document, String, Int64)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStoredField_Lucene_Net_Documents_Document_System_String_System_Double_">DocumentExtensions.AddStoredField(Document, String, Double)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddStringField_Lucene_Net_Documents_Document_System_String_System_String_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddStringField(Document, String, String, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddTextField_Lucene_Net_Documents_Document_System_String_System_IO_TextReader_">DocumentExtensions.AddTextField(Document, String, TextReader)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddTextField_Lucene_Net_Documents_Document_System_String_System_String_Lucene_Net_Documents_Field_Store_">DocumentExtensions.AddTextField(Document, String, String, Field.Store)</a>
</div>
<div>
<a class="xref" href="Lucene.Net.Documents.Extensions.DocumentExtensions.html#Lucene_Net_Documents_Extensions_DocumentExtensions_AddTextField_Lucene_Net_Documents_Document_System_String_Lucene_Net_Analysis_TokenStream_">DocumentExtensions.AddTextField(Document, String, TokenStream)</a>
</div>
</article>
</div>
<div class="hidden-sm col-md-2" role="complementary">
<div class="sideaffix">
<div class="contribution">
<ul class="nav">
<li>
<a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00013/websites/apidocs/apiSpec/new?filename=Lucene_Net_Documents_Document.md&amp;value=---%0Auid%3A%20Lucene.Net.Documents.Document%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
</li>
<li>
<a href="https://github.com/apache/lucenenet/blob/fix/apidocs-layout/src/Lucene.Net/Document/Document.cs/#L41" class="contribution-link">View Source</a>
</li>
</ul>
</div>
<nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
<!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
</nav>
</div>
</div>
</div>
</div>
<footer>
<div class="grad-bottom"></div>
<div class="footer">
<div class="container">
<span class="pull-right">
<a href="#top">Back to top</a>
</span>
Copyright © 2020 The Apache Software Foundation, Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache License, Version 2.0</a><br> <small>Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation. <br>All other marks mentioned may be trademarks or registered trademarks of their respective owners.</small>
</div>
</div>
</footer>
</div>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script>
<script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script>
</body>
</html>