blob: 2808b48e02f8e27c3ad029813112c1d0cd0c8750 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>Lucene.Net: Lucene.Net.Index.SegmentInfos Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="lucene-net-icon-128x128.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Lucene.Net
&#160;<span id="projectnumber">3.0.3</span>
</div>
<div id="projectbrief">Lucene.Net is a .NET port of the Java Lucene Indexing Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="Index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Properties</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_lucene.html">Lucene</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net.html">Net</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_index.html">Index</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html">SegmentInfos</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_lucene_1_1_net_1_1_index_1_1_segment_infos-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Lucene.Net.Index.SegmentInfos Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>A collection of segmentInfo objects with methods for operating on those segments in relation to the file system.
<a href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#details">More...</a></p>
<p>Inherits List&lt; SegmentInfo &gt;, and ICloneable.</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos_1_1_find_segments_file.html">FindSegmentsFile</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Utility class for executing code that needs to do something with the current segments file. This is necessary with lock-less commits because from the time you locate the current segments file name, until you actually open it, read its contents, or check modified time, etc., it could have been deleted due to a writer commit finishing. <a href="class_lucene_1_1_net_1_1_index_1_1_segment_infos_1_1_find_segments_file.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a879c913c5764aea25d26ae7d206eedc0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html">SegmentInfo</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a879c913c5764aea25d26ae7d206eedc0">Info</a> (int i)</td></tr>
<tr class="separator:a879c913c5764aea25d26ae7d206eedc0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a045e727f2f44f9ae4027dcd979f1f472"><td class="memItemLeft" align="right" valign="top">System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a045e727f2f44f9ae4027dcd979f1f472">GetCurrentSegmentFileName</a> ()</td></tr>
<tr class="memdesc:a045e727f2f44f9ae4027dcd979f1f472"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the segments_N filename in use by this segment infos. <a href="#a045e727f2f44f9ae4027dcd979f1f472"></a><br/></td></tr>
<tr class="separator:a045e727f2f44f9ae4027dcd979f1f472"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab76b12e401f3dc85e95c21c4100bde8f"><td class="memItemLeft" align="right" valign="top">System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ab76b12e401f3dc85e95c21c4100bde8f">GetNextSegmentFileName</a> ()</td></tr>
<tr class="memdesc:ab76b12e401f3dc85e95c21c4100bde8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the next segments_N filename that will be written. <a href="#ab76b12e401f3dc85e95c21c4100bde8f"></a><br/></td></tr>
<tr class="separator:ab76b12e401f3dc85e95c21c4100bde8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa684d55d91250147563d4620e890a181"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#aa684d55d91250147563d4620e890a181">Read</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory, System.String segmentFileName)</td></tr>
<tr class="memdesc:aa684d55d91250147563d4620e890a181"><td class="mdescLeft">&#160;</td><td class="mdescRight">Read a particular segmentFileName. Note that this may throw an IOException if a commit is in process. <a href="#aa684d55d91250147563d4620e890a181"></a><br/></td></tr>
<tr class="separator:aa684d55d91250147563d4620e890a181"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c8b7ac8e811650a8e950f8ce0ca55fc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a6c8b7ac8e811650a8e950f8ce0ca55fc">Read</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="memdesc:a6c8b7ac8e811650a8e950f8ce0ca55fc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This version of read uses the retry logic (for lock-less commits) to find the right segments file to load. <a href="#a6c8b7ac8e811650a8e950f8ce0ca55fc"></a><br/></td></tr>
<tr class="separator:a6c8b7ac8e811650a8e950f8ce0ca55fc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa5d7093ba63baaf85037149ed7f8ba67"><td class="memItemLeft" align="right" valign="top">System.Object&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#aa5d7093ba63baaf85037149ed7f8ba67">Clone</a> ()</td></tr>
<tr class="memdesc:aa5d7093ba63baaf85037149ed7f8ba67"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of this instance, also copying each <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a>. <a href="#aa5d7093ba63baaf85037149ed7f8ba67"></a><br/></td></tr>
<tr class="separator:aa5d7093ba63baaf85037149ed7f8ba67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a72e116f4f9d587017cb0c030919a3b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html">SegmentInfos</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a3a72e116f4f9d587017cb0c030919a3b">Range</a> (int first, int last)</td></tr>
<tr class="memdesc:a3a72e116f4f9d587017cb0c030919a3b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a new <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> containg the <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a> instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first. <a href="#a3a72e116f4f9d587017cb0c030919a3b"></a><br/></td></tr>
<tr class="separator:a3a72e116f4f9d587017cb0c030919a3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8f7fa9954554726d9bc32eac3cda8ac"><td class="memItemLeft" align="right" valign="top">System.Collections.Generic.ICollection<br class="typebreak"/>
&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ad8f7fa9954554726d9bc32eac3cda8ac">Files</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> dir, bool includeSegmentsFile)</td></tr>
<tr class="memdesc:ad8f7fa9954554726d9bc32eac3cda8ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns all file names referenced by <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a> instances matching the provided Directory (ie files associated with any "external" segments are skipped). The returned collection is recomputed on each invocation. <a href="#ad8f7fa9954554726d9bc32eac3cda8ac"></a><br/></td></tr>
<tr class="separator:ad8f7fa9954554726d9bc32eac3cda8ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a698d5125725eda1aea7069effef78c06"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a698d5125725eda1aea7069effef78c06">Commit</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> dir)</td></tr>
<tr class="memdesc:a698d5125725eda1aea7069effef78c06"><td class="mdescLeft">&#160;</td><td class="mdescRight">Writes &amp; syncs to the Directory dir, taking care to remove the segments file on exception <a href="#a698d5125725eda1aea7069effef78c06"></a><br/></td></tr>
<tr class="separator:a698d5125725eda1aea7069effef78c06"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac612ba3882091d08f6644afe8578d17b"><td class="memItemLeft" align="right" valign="top">System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ac612ba3882091d08f6644afe8578d17b">SegString</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="separator:ac612ba3882091d08f6644afe8578d17b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac1d30e79304cbcec7d526b64532ce0d7"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ac1d30e79304cbcec7d526b64532ce0d7">HasExternalSegments</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> dir)</td></tr>
<tr class="separator:ac1d30e79304cbcec7d526b64532ce0d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af153e70b8063cd015da4488dc0161c3c"><td class="memItemLeft" align="right" valign="top">override bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#af153e70b8063cd015da4488dc0161c3c">Equals</a> (object obj)</td></tr>
<tr class="memdesc:af153e70b8063cd015da4488dc0161c3c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Simple brute force implementation. If size is equal, compare items one by one. <a href="#af153e70b8063cd015da4488dc0161c3c"></a><br/></td></tr>
<tr class="separator:af153e70b8063cd015da4488dc0161c3c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a23afd3b1e502d464ef61179cb9bf0907"><td class="memItemLeft" align="right" valign="top">override int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a23afd3b1e502d464ef61179cb9bf0907">GetHashCode</a> ()</td></tr>
<tr class="memdesc:a23afd3b1e502d464ef61179cb9bf0907"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculate hash code of <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> <a href="#a23afd3b1e502d464ef61179cb9bf0907"></a><br/></td></tr>
<tr class="separator:a23afd3b1e502d464ef61179cb9bf0907"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:a124c6deff913e99aeb3a2edf6534edfc"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a124c6deff913e99aeb3a2edf6534edfc">GetCurrentSegmentGeneration</a> (System.String[] files)</td></tr>
<tr class="memdesc:a124c6deff913e99aeb3a2edf6534edfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the generation (N) of the current segments_N file from a list of files. <a href="#a124c6deff913e99aeb3a2edf6534edfc"></a><br/></td></tr>
<tr class="separator:a124c6deff913e99aeb3a2edf6534edfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4eab292c9d36bf7c0e9187a4194d1ca9"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a4eab292c9d36bf7c0e9187a4194d1ca9">GetCurrentSegmentGeneration</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="memdesc:a4eab292c9d36bf7c0e9187a4194d1ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the generation (N) of the current segments_N file in the directory. <a href="#a4eab292c9d36bf7c0e9187a4194d1ca9"></a><br/></td></tr>
<tr class="separator:a4eab292c9d36bf7c0e9187a4194d1ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3dd07fad71cbc23fc5f11c937ee3c15b"><td class="memItemLeft" align="right" valign="top">static System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a3dd07fad71cbc23fc5f11c937ee3c15b">GetCurrentSegmentFileName</a> (System.String[] files)</td></tr>
<tr class="memdesc:a3dd07fad71cbc23fc5f11c937ee3c15b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the filename of the current segments_N file from a list of files. <a href="#a3dd07fad71cbc23fc5f11c937ee3c15b"></a><br/></td></tr>
<tr class="separator:a3dd07fad71cbc23fc5f11c937ee3c15b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0adc3c6cff0553bcd5501514eafeb269"><td class="memItemLeft" align="right" valign="top">static System.String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a0adc3c6cff0553bcd5501514eafeb269">GetCurrentSegmentFileName</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="memdesc:a0adc3c6cff0553bcd5501514eafeb269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the filename of the current segments_N file in the directory. <a href="#a0adc3c6cff0553bcd5501514eafeb269"></a><br/></td></tr>
<tr class="separator:a0adc3c6cff0553bcd5501514eafeb269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2934f3394331903e2eed4d971df1b9f0"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a2934f3394331903e2eed4d971df1b9f0">GenerationFromSegmentsFileName</a> (System.String fileName)</td></tr>
<tr class="memdesc:a2934f3394331903e2eed4d971df1b9f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Parse the generation off the segments file name and return it. <a href="#a2934f3394331903e2eed4d971df1b9f0"></a><br/></td></tr>
<tr class="separator:a2934f3394331903e2eed4d971df1b9f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50a48aff89e02201e2ae68cd5cf08d73"><td class="memItemLeft" align="right" valign="top">static long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a50a48aff89e02201e2ae68cd5cf08d73">ReadCurrentVersion</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="memdesc:a50a48aff89e02201e2ae68cd5cf08d73"><td class="mdescLeft">&#160;</td><td class="mdescRight">Current version number from segments file. <a href="#a50a48aff89e02201e2ae68cd5cf08d73"></a><br/></td></tr>
<tr class="separator:a50a48aff89e02201e2ae68cd5cf08d73"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a603c9e9336f6124f459c4a65163ecdd3"><td class="memItemLeft" align="right" valign="top">static <br class="typebreak"/>
System.Collections.Generic.IDictionary<br class="typebreak"/>
&lt; string, string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a603c9e9336f6124f459c4a65163ecdd3">ReadCurrentUserData</a> (<a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a> directory)</td></tr>
<tr class="memdesc:a603c9e9336f6124f459c4a65163ecdd3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns userData from latest segments file <a href="#a603c9e9336f6124f459c4a65163ecdd3"></a><br/></td></tr>
<tr class="separator:a603c9e9336f6124f459c4a65163ecdd3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5800ab80bf604a9a0897610579b3f81"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#af5800ab80bf604a9a0897610579b3f81">SetInfoStream</a> (System.IO.StreamWriter infoStream)</td></tr>
<tr class="memdesc:af5800ab80bf604a9a0897610579b3f81"><td class="mdescLeft">&#160;</td><td class="mdescRight">If non-null, information about retries when loading the segments file will be printed to this. <a href="#af5800ab80bf604a9a0897610579b3f81"></a><br/></td></tr>
<tr class="separator:af5800ab80bf604a9a0897610579b3f81"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr class="memitem:abcc36098f18ca35bc9cddee5cfd3ab52"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#abcc36098f18ca35bc9cddee5cfd3ab52">FORMAT</a> = - 1</td></tr>
<tr class="memdesc:abcc36098f18ca35bc9cddee5cfd3ab52"><td class="mdescLeft">&#160;</td><td class="mdescRight">The file format version, a negative number. <a href="#abcc36098f18ca35bc9cddee5cfd3ab52"></a><br/></td></tr>
<tr class="separator:abcc36098f18ca35bc9cddee5cfd3ab52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3424618a07882f45ac3e8db50bc37575"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a3424618a07882f45ac3e8db50bc37575">FORMAT_LOCKLESS</a> = - 2</td></tr>
<tr class="memdesc:a3424618a07882f45ac3e8db50bc37575"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds details used for lockless commits. It differs slightly from the previous format in that file names are never re-used (write once). Instead, each file is written to the next generation. For example, segments_1, segments_2, etc. This allows us to not use a commit lock. See <a href="http://lucene.apache.org/java/docs/fileformats.html">file formats</a> for details. <a href="#a3424618a07882f45ac3e8db50bc37575"></a><br/></td></tr>
<tr class="separator:a3424618a07882f45ac3e8db50bc37575"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7527ee8c11b0602b104734106407d18d"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a7527ee8c11b0602b104734106407d18d">FORMAT_SINGLE_NORM_FILE</a> = - 3</td></tr>
<tr class="memdesc:a7527ee8c11b0602b104734106407d18d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds a "hasSingleNormFile" flag into each segment info. See <a href="http://issues.apache.org/jira/browse/LUCENE-756">LUCENE-756</a> for details. <a href="#a7527ee8c11b0602b104734106407d18d"></a><br/></td></tr>
<tr class="separator:a7527ee8c11b0602b104734106407d18d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c33d42e1c012f3c8dec38e4b40bbe7b"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a0c33d42e1c012f3c8dec38e4b40bbe7b">FORMAT_SHARED_DOC_STORE</a> = - 4</td></tr>
<tr class="memdesc:a0c33d42e1c012f3c8dec38e4b40bbe7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format allows multiple segments to share a single vectors and stored fields file. <a href="#a0c33d42e1c012f3c8dec38e4b40bbe7b"></a><br/></td></tr>
<tr class="separator:a0c33d42e1c012f3c8dec38e4b40bbe7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb1874a269426a80dbf53f0d71e2ffcd"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#abb1874a269426a80dbf53f0d71e2ffcd">FORMAT_CHECKSUM</a> = - 5</td></tr>
<tr class="memdesc:abb1874a269426a80dbf53f0d71e2ffcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds a checksum at the end of the file to ensure all bytes were successfully written. <a href="#abb1874a269426a80dbf53f0d71e2ffcd"></a><br/></td></tr>
<tr class="separator:abb1874a269426a80dbf53f0d71e2ffcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a31de7700b3c55bb2c70e76dd7db0f288"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a31de7700b3c55bb2c70e76dd7db0f288">FORMAT_DEL_COUNT</a> = - 6</td></tr>
<tr class="memdesc:a31de7700b3c55bb2c70e76dd7db0f288"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds the deletion count for each segment. This way <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_writer.html" title="An IndexWriter creates and maintains an index. The create argument to the constructor determines whet...">IndexWriter</a> can efficiently report numDocs(). <a href="#a31de7700b3c55bb2c70e76dd7db0f288"></a><br/></td></tr>
<tr class="separator:a31de7700b3c55bb2c70e76dd7db0f288"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad15433576cefaa2abc27c858fe56f1f6"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ad15433576cefaa2abc27c858fe56f1f6">FORMAT_HAS_PROX</a> = - 7</td></tr>
<tr class="memdesc:ad15433576cefaa2abc27c858fe56f1f6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds the boolean hasProx to record if any fields in the segment store prox information (ie, have omitTermFreqAndPositions==false) <a href="#ad15433576cefaa2abc27c858fe56f1f6"></a><br/></td></tr>
<tr class="separator:ad15433576cefaa2abc27c858fe56f1f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b2be8cb37aafe155fb32d882f7e671d"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a5b2be8cb37aafe155fb32d882f7e671d">FORMAT_USER_DATA</a> = - 8</td></tr>
<tr class="memdesc:a5b2be8cb37aafe155fb32d882f7e671d"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds optional commit userData (String) storage. <a href="#a5b2be8cb37aafe155fb32d882f7e671d"></a><br/></td></tr>
<tr class="separator:a5b2be8cb37aafe155fb32d882f7e671d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af1ca2a35d9c30824e72cb6e32ba466a3"><td class="memItemLeft" align="right" valign="top">const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#af1ca2a35d9c30824e72cb6e32ba466a3">FORMAT_DIAGNOSTICS</a> = - 9</td></tr>
<tr class="memdesc:af1ca2a35d9c30824e72cb6e32ba466a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">This format adds optional per-segment String dianostics storage, and switches userData to Map <a href="#af1ca2a35d9c30824e72cb6e32ba466a3"></a><br/></td></tr>
<tr class="separator:af1ca2a35d9c30824e72cb6e32ba466a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a17192eb2ee419dcb25455f120d8b935b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a17192eb2ee419dcb25455f120d8b935b">counter</a> = 0</td></tr>
<tr class="separator:a17192eb2ee419dcb25455f120d8b935b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a>
Properties</h2></td></tr>
<tr class="memitem:a13a029f4010dd3994ec059a97446dfcd"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a13a029f4010dd3994ec059a97446dfcd">Version</a><code> [get]</code></td></tr>
<tr class="memdesc:a13a029f4010dd3994ec059a97446dfcd"><td class="mdescLeft">&#160;</td><td class="mdescRight">version number when this <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> was generated. <a href="#a13a029f4010dd3994ec059a97446dfcd"></a><br/></td></tr>
<tr class="separator:a13a029f4010dd3994ec059a97446dfcd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1357a4318fda693e22091876ff8a546b"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a1357a4318fda693e22091876ff8a546b">Generation</a><code> [get]</code></td></tr>
<tr class="separator:a1357a4318fda693e22091876ff8a546b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e9605e11fc095ffc7ad16a95a2d4f3b"><td class="memItemLeft" align="right" valign="top">long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a6e9605e11fc095ffc7ad16a95a2d4f3b">LastGeneration</a><code> [get]</code></td></tr>
<tr class="separator:a6e9605e11fc095ffc7ad16a95a2d4f3b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a107101ec175389690423cf94a7b68148"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a107101ec175389690423cf94a7b68148">DefaultGenFileRetryCount</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a107101ec175389690423cf94a7b68148"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advanced: Gets or sets how many times to try loading the segments.gen file contents to determine current segment generation. This file is only referenced when the primary method (listing the directory) fails. <a href="#a107101ec175389690423cf94a7b68148"></a><br/></td></tr>
<tr class="separator:a107101ec175389690423cf94a7b68148"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d69521f22992407c34c20172547429d"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#a5d69521f22992407c34c20172547429d">DefaultGenFileRetryPauseMsec</a><code> [get, set]</code></td></tr>
<tr class="separator:a5d69521f22992407c34c20172547429d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada9a164f5ba415984ab11d4a79fcd316"><td class="memItemLeft" align="right" valign="top">static int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#ada9a164f5ba415984ab11d4a79fcd316">DefaultGenLookaheadCount</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ada9a164f5ba415984ab11d4a79fcd316"><td class="mdescLeft">&#160;</td><td class="mdescRight">Advanced: set how many times to try incrementing the gen when loading the segments file. This only runs if the primary (listing directory) and secondary (opening segments.gen file) methods fail to find the segments file. <a href="#ada9a164f5ba415984ab11d4a79fcd316"></a><br/></td></tr>
<tr class="separator:ada9a164f5ba415984ab11d4a79fcd316"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea53295ee64e5284bfc51a7e7c0a9345"><td class="memItemLeft" align="right" valign="top">static StreamWriter&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#aea53295ee64e5284bfc51a7e7c0a9345">InfoStream</a><code> [get]</code></td></tr>
<tr class="separator:aea53295ee64e5284bfc51a7e7c0a9345"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af07da15e9ae8dc41c4514d3d64885afa"><td class="memItemLeft" align="right" valign="top">IDictionary&lt; string, string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#af07da15e9ae8dc41c4514d3d64885afa">UserData</a><code> [get, set]</code></td></tr>
<tr class="separator:af07da15e9ae8dc41c4514d3d64885afa"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A collection of segmentInfo objects with methods for operating on those segments in relation to the file system. </p>
<p><b>NOTE:</b> This API is new and still experimental (subject to change suddenly in the next release)</p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00039">39</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="aa5d7093ba63baaf85037149ed7f8ba67"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.Object Lucene.Net.Index.SegmentInfos.Clone </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a copy of this instance, also copying each <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a>. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00440">440</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a698d5125725eda1aea7069effef78c06"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.SegmentInfos.Commit </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>dir</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Writes &amp; syncs to the Directory dir, taking care to remove the segments file on exception </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00977">977</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af153e70b8063cd015da4488dc0161c3c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override bool Lucene.Net.Index.SegmentInfos.Equals </td>
<td>(</td>
<td class="paramtype">object&#160;</td>
<td class="paramname"><em>obj</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Simple brute force implementation. If size is equal, compare items one by one. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">obj</td><td><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> object to check equality for</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if lists are equal, false otherwise</dd></dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l01040">1040</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad8f7fa9954554726d9bc32eac3cda8ac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.Collections.Generic.ICollection&lt;string&gt; Lucene.Net.Index.SegmentInfos.Files </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>dir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool&#160;</td>
<td class="paramname"><em>includeSegmentsFile</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns all file names referenced by <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a> instances matching the provided Directory (ie files associated with any "external" segments are skipped). The returned collection is recomputed on each invocation. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00882">882</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a2934f3394331903e2eed4d971df1b9f0"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static long Lucene.Net.Index.SegmentInfos.GenerationFromSegmentsFileName </td>
<td>(</td>
<td class="paramtype">System.String&#160;</td>
<td class="paramname"><em>fileName</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Parse the generation off the segments file name and return it. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00221">221</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a3dd07fad71cbc23fc5f11c937ee3c15b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static System.String Lucene.Net.Index.SegmentInfos.GetCurrentSegmentFileName </td>
<td>(</td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>files</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the filename of the current segments_N file from a list of files. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">files</td><td>&ndash; array of file names to check </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00196">196</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a0adc3c6cff0553bcd5501514eafeb269"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static System.String Lucene.Net.Index.SegmentInfos.GetCurrentSegmentFileName </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the filename of the current segments_N file in the directory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">directory</td><td>&ndash; directory to search for the latest segments_N file </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00207">207</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a045e727f2f44f9ae4027dcd979f1f472"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String Lucene.Net.Index.SegmentInfos.GetCurrentSegmentFileName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the segments_N filename in use by this segment infos.</p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00213">213</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a124c6deff913e99aeb3a2edf6534edfc"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static long Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration </td>
<td>(</td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>files</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the generation (N) of the current segments_N file from a list of files. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">files</td><td>&ndash; array of file names to check </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00149">149</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a4eab292c9d36bf7c0e9187a4194d1ca9"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static long Lucene.Net.Index.SegmentInfos.GetCurrentSegmentGeneration </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the generation (N) of the current segments_N file in the directory. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">directory</td><td>&ndash; directory to search for the latest segments_N file </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00177">177</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a23afd3b1e502d464ef61179cb9bf0907"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override int Lucene.Net.Index.SegmentInfos.GetHashCode </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Calculate hash code of <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> </p>
<dl class="section return"><dt>Returns</dt><dd>hash code as in java version of ArrayList</dd></dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l01061">1061</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ab76b12e401f3dc85e95c21c4100bde8f"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String Lucene.Net.Index.SegmentInfos.GetNextSegmentFileName </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the next segments_N filename that will be written.</p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00240">240</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ac1d30e79304cbcec7d526b64532ce0d7"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">bool Lucene.Net.Index.SegmentInfos.HasExternalSegments </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>dir</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l01024">1024</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a879c913c5764aea25d26ae7d206eedc0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html">SegmentInfo</a> Lucene.Net.Index.SegmentInfos.Info </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>i</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00138">138</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a3a72e116f4f9d587017cb0c030919a3b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html">SegmentInfos</a> Lucene.Net.Index.SegmentInfos.Range </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>first</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>last</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns a new <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> containg the <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_info.html" title="Information about a segment such as it&#39;s name, directory, and files related to the segment...">SegmentInfo</a> instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00818">818</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="aa684d55d91250147563d4620e890a181"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.SegmentInfos.Read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.String&#160;</td>
<td class="paramname"><em>segmentFileName</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Read a particular segmentFileName. Note that this may throw an IOException if a commit is in process. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">directory</td><td>&ndash; directory containing the segments file </td></tr>
<tr><td class="paramname">segmentFileName</td><td>&ndash; segment file to load </td></tr>
</table>
</dd>
</dl>
<p>&lt;throws&gt; <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_corrupt_index_exception.html" title="This exception is thrown when Lucene detects an inconsistency in the index. ">CorruptIndexException</a> if the index is corrupt &lt;/throws&gt; &lt;throws&gt; IOException if there is a low-level IO error &lt;/throws&gt; </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00265">265</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a6c8b7ac8e811650a8e950f8ce0ca55fc"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.SegmentInfos.Read </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>This version of read uses the retry logic (for lock-less commits) to find the right segments file to load. </p>
<p>&lt;throws&gt; <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_corrupt_index_exception.html" title="This exception is thrown when Lucene detects an inconsistency in the index. ">CorruptIndexException</a> if the index is corrupt &lt;/throws&gt; &lt;throws&gt; IOException if there is a low-level IO error &lt;/throws&gt; </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00361">361</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a603c9e9336f6124f459c4a65163ecdd3"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static System.Collections.Generic.IDictionary&lt;string, string&gt; Lucene.Net.Index.SegmentInfos.ReadCurrentUserData </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns userData from latest segments file</p>
<p>&lt;throws&gt; <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_corrupt_index_exception.html" title="This exception is thrown when Lucene detects an inconsistency in the index. ">CorruptIndexException</a> if the index is corrupt &lt;/throws&gt; &lt;throws&gt; IOException if there is a low-level IO error &lt;/throws&gt; </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00492">492</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a50a48aff89e02201e2ae68cd5cf08d73"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static long Lucene.Net.Index.SegmentInfos.ReadCurrentVersion </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Current version number from segments file.</p>
<p>&lt;throws&gt; <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_corrupt_index_exception.html" title="This exception is thrown when Lucene detects an inconsistency in the index. ">CorruptIndexException</a> if the index is corrupt &lt;/throws&gt; &lt;throws&gt; IOException if there is a low-level IO error &lt;/throws&gt; </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00475">475</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ac612ba3882091d08f6644afe8578d17b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String Lucene.Net.Index.SegmentInfos.SegString </td>
<td>(</td>
<td class="paramtype"><a class="el" href="_syns2_index_8cs.html#aada057080323f6e867d8f9c189276716">Directory</a>&#160;</td>
<td class="paramname"><em>directory</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00983">983</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af5800ab80bf604a9a0897610579b3f81"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">static void Lucene.Net.Index.SegmentInfos.SetInfoStream </td>
<td>(</td>
<td class="paramtype">System.IO.StreamWriter&#160;</td>
<td class="paramname"><em>infoStream</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>If non-null, information about retries when loading the segments file will be printed to this. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00502">502</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a17192eb2ee419dcb25455f120d8b935b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Lucene.Net.Index.SegmentInfos.counter = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00120">120</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="abcc36098f18ca35bc9cddee5cfd3ab52"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT = - 1</td>
</tr>
</table>
</div><div class="memdoc">
<p>The file format version, a negative number. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00069">69</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="abb1874a269426a80dbf53f0d71e2ffcd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_CHECKSUM = - 5</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds a checksum at the end of the file to ensure all bytes were successfully written. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00096">96</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a31de7700b3c55bb2c70e76dd7db0f288"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_DEL_COUNT = - 6</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds the deletion count for each segment. This way <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_writer.html" title="An IndexWriter creates and maintains an index. The create argument to the constructor determines whet...">IndexWriter</a> can efficiently report numDocs(). </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00101">101</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af1ca2a35d9c30824e72cb6e32ba466a3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_DIAGNOSTICS = - 9</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds optional per-segment String dianostics storage, and switches userData to Map </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00115">115</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad15433576cefaa2abc27c858fe56f1f6"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_HAS_PROX = - 7</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds the boolean hasProx to record if any fields in the segment store prox information (ie, have omitTermFreqAndPositions==false) </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00107">107</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a3424618a07882f45ac3e8db50bc37575"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_LOCKLESS = - 2</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds details used for lockless commits. It differs slightly from the previous format in that file names are never re-used (write once). Instead, each file is written to the next generation. For example, segments_1, segments_2, etc. This allows us to not use a commit lock. See <a href="http://lucene.apache.org/java/docs/fileformats.html">file formats</a> for details. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00080">80</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a0c33d42e1c012f3c8dec38e4b40bbe7b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_SHARED_DOC_STORE = - 4</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format allows multiple segments to share a single vectors and stored fields file. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00091">91</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a7527ee8c11b0602b104734106407d18d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_SINGLE_NORM_FILE = - 3</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds a "hasSingleNormFile" flag into each segment info. See <a href="http://issues.apache.org/jira/browse/LUCENE-756">LUCENE-756</a> for details. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00086">86</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a5b2be8cb37aafe155fb32d882f7e671d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Index.SegmentInfos.FORMAT_USER_DATA = - 8</td>
</tr>
</table>
</div><div class="memdoc">
<p>This format adds optional commit userData (String) storage. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00110">110</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="a107101ec175389690423cf94a7b68148"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Lucene.Net.Index.SegmentInfos.DefaultGenFileRetryCount</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Advanced: Gets or sets how many times to try loading the segments.gen file contents to determine current segment generation. This file is only referenced when the primary method (listing the directory) fails. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00519">519</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a5d69521f22992407c34c20172547429d"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Lucene.Net.Index.SegmentInfos.DefaultGenFileRetryPauseMsec</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00525">525</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ada9a164f5ba415984ab11d4a79fcd316"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">int Lucene.Net.Index.SegmentInfos.DefaultGenLookaheadCount</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Advanced: set how many times to try incrementing the gen when loading the segments file. This only runs if the primary (listing directory) and secondary (opening segments.gen file) methods fail to find the segments file. </p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00537">537</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1357a4318fda693e22091876ff8a546b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Lucene.Net.Index.SegmentInfos.Generation</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00463">463</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="aea53295ee64e5284bfc51a7e7c0a9345"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">StreamWriter Lucene.Net.Index.SegmentInfos.InfoStream</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html#af5800ab80bf604a9a0897610579b3f81" title="If non-null, information about retries when loading the segments file will be printed to this...">SetInfoStream</a></dd></dl>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00545">545</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a6e9605e11fc095ffc7ad16a95a2d4f3b"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Lucene.Net.Index.SegmentInfos.LastGeneration</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00468">468</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af07da15e9ae8dc41c4514d3d64885afa"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">IDictionary&lt;string, string&gt; Lucene.Net.Index.SegmentInfos.UserData</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span><span class="mlabel">set</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l01005">1005</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a13a029f4010dd3994ec059a97446dfcd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">long Lucene.Net.Index.SegmentInfos.Version</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">get</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>version number when this <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_segment_infos.html" title="A collection of segmentInfo objects with methods for operating on those segments in relation to the f...">SegmentInfos</a> was generated.</p>
<p>Definition at line <a class="el" href="_segment_infos_8cs_source.html#l00458">458</a> of file <a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>core/Index/<a class="el" href="_segment_infos_8cs_source.html">SegmentInfos.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 3 2013 02:12:55 for Lucene.Net by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3
</small></address>
</body>
</html>