blob: 443a3733fbfc6dbb72eac5d2b2048b190efa29ab [file] [log] [blame]
<html dir="LTR">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
<title>Field Constructor (String, String, Store, Index, TermVector)</title>
<xml>
</xml>
<link rel="stylesheet" type="text/css" href="MSDN.css" />
</head>
<body id="bodyID" class="dtBODY">
<div id="nsbanner">
<div id="bannerrow1">
<table class="bannerparthead" cellspacing="0">
<tr id="hdr">
<td class="runninghead">Apache Lucene.Net 2.4.0 Class Library API</td>
<td class="product">
</td>
</tr>
</table>
</div>
<div id="TitleRow">
<h1 class="dtH1">Field Constructor (String, String, Store, Index, TermVector)</h1>
</div>
</div>
<div id="nstext">
<p> Create a field by specifying its name, value and how it will be saved in the index. </p>
<div class="syntax">public Field(<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a> <i>name</i>,<br />   <a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a> <i>value_Renamed</i>,<br />   <a href="Lucene.Net.Documents.Field.Store.html">Store</a> <i>store</i>,<br />   <a href="Lucene.Net.Documents.Field.Index.html">Index</a> <i>index</i>,<br />   <a href="Lucene.Net.Documents.Field.TermVector.html">TermVector</a> <i>termVector</i><br />);</div>
<h4 class="dtH4">Parameters</h4>
<dl>
<dt>
<i>name</i>
</dt>
<dd>The name of the field </dd>
<dt>
<i>value_Renamed</i>
</dt>
<dd>
</dd>
<dt>
<i>store</i>
</dt>
<dd>Whether <pre class="code">value</pre> should be stored in the index </dd>
<dt>
<i>index</i>
</dt>
<dd>Whether the field should be indexed, and if so, if it should be tokenized before indexing </dd>
<dt>
<i>termVector</i>
</dt>
<dd>Whether term vector should be stored </dd>
</dl>
<h4 class="dtH4">See Also</h4>
<p>
<a href="Lucene.Net.Documents.Field.html">Field Class</a> | <a href="Lucene.Net.Documents.html">Lucene.Net.Documents Namespace</a> | <a href="Lucene.Net.Documents.FieldConstructor.html">Field Constructor Overload List</a></p>
<hr />
<div id="footer">
<p>
</p>
<p>Generated from assembly Lucene.Net [2.4.0.2]</p>
</div>
</div>
</body>
</html>