blob: ff8b300a27fe7192606284f64dd6113c1ed02a42 [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.Analysis.Standard.StandardAnalyzer 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_analysis.html">Analysis</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_analysis_1_1_standard.html">Standard</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html">StandardAnalyzer</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-attribs">Public Attributes</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Lucene.Net.Analysis.Standard.StandardAnalyzer Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Filters <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_tokenizer.html" title="A grammar-based tokenizer constructed with JFlex">StandardTokenizer</a> with <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_filter.html" title="Normalizes tokens extracted with StandardTokenizer. ">StandardFilter</a>, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_lower_case_filter.html" title="Normalizes token text to lower case.">LowerCaseFilter</a> and <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_stop_filter.html" title="Removes stop words from a token stream.">StopFilter</a>, using a list of English stop words.
<a href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#details">More...</a></p>
<p>Inherits <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html">Lucene.Net.Analysis.Analyzer</a>.</p>
<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:a0209df02c25db205831cbf0726e9ea38"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a0209df02c25db205831cbf0726e9ea38">StandardAnalyzer</a> (<a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a> matchVersion)</td></tr>
<tr class="memdesc:a0209df02c25db205831cbf0726e9ea38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an analyzer with the default stop words (<a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a83d2133bc49803838bc9027754b008c8" title="An unmodifiable set containing some common English words that are usually not useful for searching...">STOP_WORDS_SET</a>). <a href="#a0209df02c25db205831cbf0726e9ea38"></a><br/></td></tr>
<tr class="separator:a0209df02c25db205831cbf0726e9ea38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae751c5c15468793e9e335d4dc35eab9b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#ae751c5c15468793e9e335d4dc35eab9b">StandardAnalyzer</a> (<a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a> matchVersion, ISet&lt; string &gt; stopWords)</td></tr>
<tr class="memdesc:ae751c5c15468793e9e335d4dc35eab9b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an analyzer with the given stop words. <a href="#ae751c5c15468793e9e335d4dc35eab9b"></a><br/></td></tr>
<tr class="separator:ae751c5c15468793e9e335d4dc35eab9b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58cfcb49bff27bdeaa0c878c4cfa51f0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a58cfcb49bff27bdeaa0c878c4cfa51f0">StandardAnalyzer</a> (<a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a> matchVersion, System.IO.FileInfo stopwords)</td></tr>
<tr class="memdesc:a58cfcb49bff27bdeaa0c878c4cfa51f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an analyzer with the stop words from the given file. <a href="#a58cfcb49bff27bdeaa0c878c4cfa51f0"></a><br/></td></tr>
<tr class="separator:a58cfcb49bff27bdeaa0c878c4cfa51f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6fd7e24fcbb36f0e9a55f8a38b5e9d27"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a6fd7e24fcbb36f0e9a55f8a38b5e9d27">StandardAnalyzer</a> (<a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a> matchVersion, System.IO.TextReader stopwords)</td></tr>
<tr class="memdesc:a6fd7e24fcbb36f0e9a55f8a38b5e9d27"><td class="mdescLeft">&#160;</td><td class="mdescRight">Builds an analyzer with the stop words from the given reader. <a href="#a6fd7e24fcbb36f0e9a55f8a38b5e9d27"></a><br/></td></tr>
<tr class="separator:a6fd7e24fcbb36f0e9a55f8a38b5e9d27"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a278395168f9f703cc170f6e2d80d5511"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a278395168f9f703cc170f6e2d80d5511">TokenStream</a> (System.String fieldName, System.IO.TextReader reader)</td></tr>
<tr class="memdesc:a278395168f9f703cc170f6e2d80d5511"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructs a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_tokenizer.html" title="A grammar-based tokenizer constructed with JFlex">StandardTokenizer</a> filtered by a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_filter.html" title="Normalizes tokens extracted with StandardTokenizer. ">StandardFilter</a> , a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_lower_case_filter.html" title="Normalizes token text to lower case.">LowerCaseFilter</a> and a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_stop_filter.html" title="Removes stop words from a token stream.">StopFilter</a>. <a href="#a278395168f9f703cc170f6e2d80d5511"></a><br/></td></tr>
<tr class="separator:a278395168f9f703cc170f6e2d80d5511"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b0e6e07d23871df3663a7093fdfa15d"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a5b0e6e07d23871df3663a7093fdfa15d">ReusableTokenStream</a> (System.String fieldName, System.IO.TextReader reader)</td></tr>
<tr class="separator:a5b0e6e07d23871df3663a7093fdfa15d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html">Lucene.Net.Analysis.Analyzer</a></td></tr>
<tr class="memitem:ac031bae47f64e6bbe2117c991996f5fc inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">abstract <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#ac031bae47f64e6bbe2117c991996f5fc">TokenStream</a> (String fieldName, System.IO.TextReader reader)</td></tr>
<tr class="memdesc:ac031bae47f64e6bbe2117c991996f5fc inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html" title="A TokenStream enumerates the sequence of tokens, either from Fields of a Document or from query text...">TokenStream</a> which tokenizes all the text in the provided Reader. Must be able to handle null field name for backward compatibility. <a href="#ac031bae47f64e6bbe2117c991996f5fc"></a><br/></td></tr>
<tr class="separator:ac031bae47f64e6bbe2117c991996f5fc inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a38359e51b263c3a5dc8774651c35b8cd inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#a38359e51b263c3a5dc8774651c35b8cd">ReusableTokenStream</a> (String fieldName, System.IO.TextReader reader)</td></tr>
<tr class="memdesc:a38359e51b263c3a5dc8774651c35b8cd inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html" title="A TokenStream enumerates the sequence of tokens, either from Fields of a Document or from query text...">TokenStream</a> that is allowed to be re-used from the previous time that the same thread called this method. Callers that do not need to use more than one <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html" title="A TokenStream enumerates the sequence of tokens, either from Fields of a Document or from query text...">TokenStream</a> at the same time from this analyzer should use this method for better performance. <a href="#a38359e51b263c3a5dc8774651c35b8cd"></a><br/></td></tr>
<tr class="separator:a38359e51b263c3a5dc8774651c35b8cd inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ace9d8916e2c0280b43369ffc119325c7 inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#ace9d8916e2c0280b43369ffc119325c7">GetPositionIncrementGap</a> (String fieldName)</td></tr>
<tr class="memdesc:ace9d8916e2c0280b43369ffc119325c7 inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Invoked before indexing a Fieldable instance if terms have already been added to that field. This allows custom analyzers to place an automatic position increment gap between Fieldable instances using the same field name. The default value position increment gap is 0. With a 0 position increment gap and the typical default token position increment of 1, all terms in a field, including across Fieldable instances, are in successive positions, allowing exact PhraseQuery matches, for instance, across Fieldable instance boundaries. <a href="#ace9d8916e2c0280b43369ffc119325c7"></a><br/></td></tr>
<tr class="separator:ace9d8916e2c0280b43369ffc119325c7 inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a333e181e02bf7f55a62f9a9dc828962e inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#a333e181e02bf7f55a62f9a9dc828962e">GetOffsetGap</a> (<a class="el" href="interface_lucene_1_1_net_1_1_documents_1_1_i_fieldable.html">IFieldable</a> field)</td></tr>
<tr class="memdesc:a333e181e02bf7f55a62f9a9dc828962e inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Just like <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#ace9d8916e2c0280b43369ffc119325c7" title="Invoked before indexing a Fieldable instance if terms have already been added to that field...">GetPositionIncrementGap</a>, except for <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token.html" title="A Token is an occurrence of a term from the text of a field. It consists of a term&#39;s text...">Token</a> offsets instead. By default this returns 1 for tokenized fields and, as if the fields were joined with an extra space character, and 0 for un-tokenized fields. This method is only called if the field produced at least one token for indexing. <a href="#a333e181e02bf7f55a62f9a9dc828962e"></a><br/></td></tr>
<tr class="separator:a333e181e02bf7f55a62f9a9dc828962e inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa1d893569bf85f78c973c1739386a0bb inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><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_analysis_1_1_analyzer.html#aa1d893569bf85f78c973c1739386a0bb">Close</a> ()</td></tr>
<tr class="memdesc:aa1d893569bf85f78c973c1739386a0bb inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="mdescLeft">&#160;</td><td class="mdescRight">Frees persistent resources used by this <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html" title="An Analyzer builds TokenStreams, which analyze text. It thus represents a policy for extracting index...">Analyzer</a> <a href="#aa1d893569bf85f78c973c1739386a0bb"></a><br/></td></tr>
<tr class="separator:aa1d893569bf85f78c973c1739386a0bb inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d1c1073953da2696e12cb66b82eaa8a inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#a5d1c1073953da2696e12cb66b82eaa8a">Dispose</a> ()</td></tr>
<tr class="separator:a5d1c1073953da2696e12cb66b82eaa8a inherit pub_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><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:aa0b22780713816512256573c9a77ae64"><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_analysis_1_1_standard_1_1_standard_analyzer.html#aa0b22780713816512256573c9a77ae64">DEFAULT_MAX_TOKEN_LENGTH</a> = 255</td></tr>
<tr class="memdesc:aa0b22780713816512256573c9a77ae64"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default maximum allowed token length <a href="#aa0b22780713816512256573c9a77ae64"></a><br/></td></tr>
<tr class="separator:aa0b22780713816512256573c9a77ae64"><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-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a83d2133bc49803838bc9027754b008c8"><td class="memItemLeft" align="right" valign="top">static readonly ISet&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a83d2133bc49803838bc9027754b008c8">STOP_WORDS_SET</a></td></tr>
<tr class="memdesc:a83d2133bc49803838bc9027754b008c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">An unmodifiable set containing some common English words that are usually not useful for searching. <a href="#a83d2133bc49803838bc9027754b008c8"></a><br/></td></tr>
<tr class="separator:a83d2133bc49803838bc9027754b008c8"><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:abdb24ab26effed265fcddd10eec1178c"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#abdb24ab26effed265fcddd10eec1178c">MaxTokenLength</a><code> [get, set]</code></td></tr>
<tr class="memdesc:abdb24ab26effed265fcddd10eec1178c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set maximum allowed token length. If a token is seen that exceeds this length then it is discarded. This setting only takes effect the next time tokenStream or reusableTokenStream is called. <a href="#abdb24ab26effed265fcddd10eec1178c"></a><br/></td></tr>
<tr class="separator:abdb24ab26effed265fcddd10eec1178c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html">Lucene.Net.Analysis.Analyzer</a></td></tr>
<tr class="memitem:acbe470079d1d35c819beb9820f72d536 inherit pro_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html#acbe470079d1d35c819beb9820f72d536">Dispose</a> (bool disposing)</td></tr>
<tr class="separator:acbe470079d1d35c819beb9820f72d536 inherit pro_methods_class_lucene_1_1_net_1_1_analysis_1_1_analyzer"><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>Filters <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_tokenizer.html" title="A grammar-based tokenizer constructed with JFlex">StandardTokenizer</a> with <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_filter.html" title="Normalizes tokens extracted with StandardTokenizer. ">StandardFilter</a>, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_lower_case_filter.html" title="Normalizes token text to lower case.">LowerCaseFilter</a> and <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_stop_filter.html" title="Removes stop words from a token stream.">StopFilter</a>, using a list of English stop words. </p>
<p><a class="anchor" id="version"></a> </p>
<p>You must specify the required <a class="el" href="_search_files_8cs.html#a63c914dcb7d19365ff0f7c6ea7ef77c4">Version</a> compatibility when creating <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html" title="Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, using a list of Englis...">StandardAnalyzer</a>: </p>
<ul>
<li>
As of 2.9, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_stop_filter.html" title="Removes stop words from a token stream.">StopFilter</a> preserves position increments </li>
<li>
As of 2.4, Tokens incorrectly identified as acronyms are corrected (see <a href="https://issues.apache.org/jira/browse/LUCENE-1068">LUCENE-1608</a>) </li>
</ul>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00042">42</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a0209df02c25db205831cbf0726e9ea38"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Analysis.Standard.StandardAnalyzer.StandardAnalyzer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a>&#160;</td>
<td class="paramname"><em>matchVersion</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Builds an analyzer with the default stop words (<a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_analyzer.html#a83d2133bc49803838bc9027754b008c8" title="An unmodifiable set containing some common English words that are usually not useful for searching...">STOP_WORDS_SET</a>). </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">matchVersion</td><td><a class="el" href="namespace_lucene.html">Lucene</a> version to match see <a class="el" href="">above</a></td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00060">60</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ae751c5c15468793e9e335d4dc35eab9b"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Analysis.Standard.StandardAnalyzer.StandardAnalyzer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a>&#160;</td>
<td class="paramname"><em>matchVersion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">ISet&lt; string &gt;&#160;</td>
<td class="paramname"><em>stopWords</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Builds an analyzer with the given stop words.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">matchVersion</td><td><a class="el" href="namespace_lucene.html">Lucene</a> version to match See <a class="el" href="">above</a> /&gt;</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stopWords</td><td>stop words </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00070">70</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a58cfcb49bff27bdeaa0c878c4cfa51f0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Analysis.Standard.StandardAnalyzer.StandardAnalyzer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a>&#160;</td>
<td class="paramname"><em>matchVersion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.IO.FileInfo&#160;</td>
<td class="paramname"><em>stopwords</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Builds an analyzer with the stop words from the given file.</p>
<dl class="section see"><dt>See Also</dt><dd>WordlistLoader.GetWordSet(System.IO.FileInfo)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">matchVersion</td><td><a class="el" href="namespace_lucene.html">Lucene</a> version to match See <a class="el" href="">above</a> /&gt;</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stopwords</td><td>File to read stop words from </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00087">87</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a6fd7e24fcbb36f0e9a55f8a38b5e9d27"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Analysis.Standard.StandardAnalyzer.StandardAnalyzer </td>
<td>(</td>
<td class="paramtype"><a class="el" href="namespace_lucene_1_1_net_1_1_util.html#a92602ef4dd5a04278f4b62379d552c0b">Version</a>&#160;</td>
<td class="paramname"><em>matchVersion</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>stopwords</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Builds an analyzer with the stop words from the given reader.</p>
<dl class="section see"><dt>See Also</dt><dd>WordlistLoader.GetWordSet(System.IO.TextReader)</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">matchVersion</td><td><a class="el" href="namespace_lucene.html">Lucene</a> version to match See <a class="el" href="">above</a> /&gt;</td></tr>
</table>
</dd>
</dl>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stopwords</td><td>Reader to read stop words from </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00100">100</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a5b0e6e07d23871df3663a7093fdfa15d"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a> Lucene.Net.Analysis.Standard.StandardAnalyzer.ReusableTokenStream </td>
<td>(</td>
<td class="paramtype">System.String&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>reader</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00139">139</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a278395168f9f703cc170f6e2d80d5511"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a> Lucene.Net.Analysis.Standard.StandardAnalyzer.TokenStream </td>
<td>(</td>
<td class="paramtype">System.String&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>reader</em>&#160;</td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructs a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_tokenizer.html" title="A grammar-based tokenizer constructed with JFlex">StandardTokenizer</a> filtered by a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_standard_1_1_standard_filter.html" title="Normalizes tokens extracted with StandardTokenizer. ">StandardFilter</a> , a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_lower_case_filter.html" title="Normalizes token text to lower case.">LowerCaseFilter</a> and a <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_stop_filter.html" title="Removes stop words from a token stream.">StopFilter</a>. </p>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00107">107</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="aa0b22780713816512256573c9a77ae64"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Analysis.Standard.StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH = 255</td>
</tr>
</table>
</div><div class="memdoc">
<p>Default maximum allowed token length </p>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00124">124</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a83d2133bc49803838bc9027754b008c8"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">readonly ISet&lt;string&gt; Lucene.Net.Analysis.Standard.StandardAnalyzer.STOP_WORDS_SET</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>An unmodifiable set containing some common English words that are usually not useful for searching. </p>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00054">54</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="abdb24ab26effed265fcddd10eec1178c"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual int Lucene.Net.Analysis.Standard.StandardAnalyzer.MaxTokenLength</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>Set maximum allowed token length. If a token is seen that exceeds this length then it is discarded. This setting only takes effect the next time tokenStream or reusableTokenStream is called. </p>
<p>Definition at line <a class="el" href="_standard_analyzer_8cs_source.html#l00134">134</a> of file <a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>core/Analysis/Standard/<a class="el" href="_standard_analyzer_8cs_source.html">StandardAnalyzer.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 3 2013 02:12:49 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>