blob: 8a29351d8f20b41bfa2bd7342122a3d87d5e362a [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.Search.Similar.MoreLikeThis 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_search.html">Search</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_search_1_1_similar.html">Similar</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html">MoreLikeThis</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="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a> &#124;
<a href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Lucene.Net.Search.Similar.MoreLikeThis Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>Generate "more like this" similarity queries. Based on this mail:
<a href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#details">More...</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:ade9e667d468f30ba63449aa545dfdcd2"><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_search_1_1_similar_1_1_more_like_this.html#ade9e667d468f30ba63449aa545dfdcd2">MoreLikeThis</a> (<a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_reader.html">IndexReader</a> ir)</td></tr>
<tr class="memdesc:ade9e667d468f30ba63449aa545dfdcd2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor requiring an IndexReader. <a href="#ade9e667d468f30ba63449aa545dfdcd2"></a><br/></td></tr>
<tr class="separator:ade9e667d468f30ba63449aa545dfdcd2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a33b9ea6e0dc34f0a659b91a134181f0e"><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_search_1_1_similar_1_1_more_like_this.html#a33b9ea6e0dc34f0a659b91a134181f0e">MoreLikeThis</a> (<a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_reader.html">IndexReader</a> ir, <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similarity.html">Lucene.Net.Search.Similarity</a> sim)</td></tr>
<tr class="separator:a33b9ea6e0dc34f0a659b91a134181f0e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41e829f9c2eff5479363d1a7bf460754"><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_search_1_1_similar_1_1_more_like_this.html#a41e829f9c2eff5479363d1a7bf460754">SetMaxDocFreqPct</a> (int maxPercentage)</td></tr>
<tr class="memdesc:a41e829f9c2eff5479363d1a7bf460754"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the maximum percentage in which words may still appear. Words that appear in more than this many percent of all docs will be ignored. <a href="#a41e829f9c2eff5479363d1a7bf460754"></a><br/></td></tr>
<tr class="separator:a41e829f9c2eff5479363d1a7bf460754"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5fcb128a8b143a9015fb11996cf0e874"><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_search_1_1_similar_1_1_more_like_this.html#a5fcb128a8b143a9015fb11996cf0e874">GetFieldNames</a> ()</td></tr>
<tr class="memdesc:a5fcb128a8b143a9015fb11996cf0e874"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the field names that will be used when generating the 'More Like This' query. The default field names that will be used is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#aadbdcec74b7a82432f64584795ff83a4" title="Default field names. Null is used to specify that the field names should be looked up at runtime from...">DEFAULT_FIELD_NAMES</a>. <a href="#a5fcb128a8b143a9015fb11996cf0e874"></a><br/></td></tr>
<tr class="separator:a5fcb128a8b143a9015fb11996cf0e874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd9239078fd53f28aeee0384614f5bac"><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_search_1_1_similar_1_1_more_like_this.html#acd9239078fd53f28aeee0384614f5bac">SetFieldNames</a> (System.String[] fieldNames)</td></tr>
<tr class="memdesc:acd9239078fd53f28aeee0384614f5bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the field names that will be used when generating the 'More Like This' query. Set this to null for the field names to be determined at runtime from the IndexReader provided in the constructor. <a href="#acd9239078fd53f28aeee0384614f5bac"></a><br/></td></tr>
<tr class="separator:acd9239078fd53f28aeee0384614f5bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ad2b31d0990258ee59a0096fd1986d0"><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_search_1_1_similar_1_1_more_like_this.html#a6ad2b31d0990258ee59a0096fd1986d0">SetStopWords</a> (ISet&lt; string &gt; stopWords)</td></tr>
<tr class="memdesc:a6ad2b31d0990258ee59a0096fd1986d0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the set of stopwords. Any word in this set is considered "uninteresting" and ignored. Even if your Analyzer allows stopwords, you might want to tell the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html" title="Generate &quot;more like this&quot; similarity queries. Based on this mail:">MoreLikeThis</a> code to ignore them, as for the purposes of document similarity it seems reasonable to assume that "a stop word is never interesting". <a href="#a6ad2b31d0990258ee59a0096fd1986d0"></a><br/></td></tr>
<tr class="separator:a6ad2b31d0990258ee59a0096fd1986d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8743b81b0b5bc642c0608c455351d5e"><td class="memItemLeft" align="right" valign="top">ISet&lt; string &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad8743b81b0b5bc642c0608c455351d5e">GetStopWords</a> ()</td></tr>
<tr class="memdesc:ad8743b81b0b5bc642c0608c455351d5e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current stop words being used. <a href="#ad8743b81b0b5bc642c0608c455351d5e"></a><br/></td></tr>
<tr class="separator:ad8743b81b0b5bc642c0608c455351d5e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f2e0341982b35088a6de9765e232dba"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1f2e0341982b35088a6de9765e232dba">Like</a> (int docNum)</td></tr>
<tr class="memdesc:a1f2e0341982b35088a6de9765e232dba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a query that will return docs like the passed lucene document ID. <a href="#a1f2e0341982b35088a6de9765e232dba"></a><br/></td></tr>
<tr class="separator:a1f2e0341982b35088a6de9765e232dba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a617a370d5a6db91ce545353540fcd577"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a617a370d5a6db91ce545353540fcd577">Like</a> (System.IO.FileInfo f)</td></tr>
<tr class="memdesc:a617a370d5a6db91ce545353540fcd577"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a query that will return docs like the passed file. <a href="#a617a370d5a6db91ce545353540fcd577"></a><br/></td></tr>
<tr class="separator:a617a370d5a6db91ce545353540fcd577"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2317f208f51c7ed38a5d85117e498c9f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a2317f208f51c7ed38a5d85117e498c9f">Like</a> (System.Uri u)</td></tr>
<tr class="memdesc:a2317f208f51c7ed38a5d85117e498c9f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a query that will return docs like the passed URL. <a href="#a2317f208f51c7ed38a5d85117e498c9f"></a><br/></td></tr>
<tr class="separator:a2317f208f51c7ed38a5d85117e498c9f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad18b79b83980de5b652a10c3e5d9ba38"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad18b79b83980de5b652a10c3e5d9ba38">Like</a> (System.IO.Stream is_Renamed)</td></tr>
<tr class="memdesc:ad18b79b83980de5b652a10c3e5d9ba38"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a query that will return docs like the passed stream. <a href="#ad18b79b83980de5b652a10c3e5d9ba38"></a><br/></td></tr>
<tr class="separator:ad18b79b83980de5b652a10c3e5d9ba38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4e7a170a934d04c482359c4dbedfb7a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad4e7a170a934d04c482359c4dbedfb7a">Like</a> (System.IO.TextReader r)</td></tr>
<tr class="memdesc:ad4e7a170a934d04c482359c4dbedfb7a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a query that will return docs like the passed Reader. <a href="#ad4e7a170a934d04c482359c4dbedfb7a"></a><br/></td></tr>
<tr class="separator:ad4e7a170a934d04c482359c4dbedfb7a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae6d047e909592b8c4917b001e822a9c3"><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_search_1_1_similar_1_1_more_like_this.html#ae6d047e909592b8c4917b001e822a9c3">DescribeParams</a> ()</td></tr>
<tr class="memdesc:ae6d047e909592b8c4917b001e822a9c3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Describe the parameters that control how the "more like this" query is formed. <a href="#ae6d047e909592b8c4917b001e822a9c3"></a><br/></td></tr>
<tr class="separator:ae6d047e909592b8c4917b001e822a9c3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5361a52d9ea2eaf432118ca8a1a71d9e"><td class="memItemLeft" align="right" valign="top">PriorityQueue&lt; object[]&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a5361a52d9ea2eaf432118ca8a1a71d9e">RetrieveTerms</a> (System.IO.TextReader r)</td></tr>
<tr class="memdesc:a5361a52d9ea2eaf432118ca8a1a71d9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Find words for a more-like-this query former. The result is a priority queue of arrays with one entry for <b>every word</b> in the document. Each array has 6 elements. The elements are: <a href="#a5361a52d9ea2eaf432118ca8a1a71d9e"></a><br/></td></tr>
<tr class="separator:a5361a52d9ea2eaf432118ca8a1a71d9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc344770e52b25fc6672cb20dff57bb2"><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_search_1_1_similar_1_1_more_like_this.html#acc344770e52b25fc6672cb20dff57bb2">RetrieveInterestingTerms</a> (int docNum)</td></tr>
<tr class="separator:acc344770e52b25fc6672cb20dff57bb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac7a96486573d69fc863a5944a3765839"><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_search_1_1_similar_1_1_more_like_this.html#ac7a96486573d69fc863a5944a3765839">RetrieveInterestingTerms</a> (System.IO.TextReader r)</td></tr>
<tr class="memdesc:ac7a96486573d69fc863a5944a3765839"><td class="mdescLeft">&#160;</td><td class="mdescRight">Convenience routine to make it easy to return the most interesting words in a document. More advanced users will call RetrieveTerms(System.IO.TextReader) directly. <a href="#ac7a96486573d69fc863a5944a3765839"></a><br/></td></tr>
<tr class="separator:ac7a96486573d69fc863a5944a3765839"><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:ae37c6e614772f48cd4b75d8729668781"><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_search_1_1_similar_1_1_more_like_this.html#ae37c6e614772f48cd4b75d8729668781">Main</a> (System.String[] a)</td></tr>
<tr class="memdesc:ae37c6e614772f48cd4b75d8729668781"><td class="mdescLeft">&#160;</td><td class="mdescRight">Test driver. Pass in "-i INDEX" and then either "-fn FILE" or "-url URL". <a href="#ae37c6e614772f48cd4b75d8729668781"></a><br/></td></tr>
<tr class="separator:ae37c6e614772f48cd4b75d8729668781"><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:ac1949c8c1e8afbc543b248b8f97476bb"><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_search_1_1_similar_1_1_more_like_this.html#ac1949c8c1e8afbc543b248b8f97476bb">DEFAULT_MAX_NUM_TOKENS_PARSED</a> = 5000</td></tr>
<tr class="memdesc:ac1949c8c1e8afbc543b248b8f97476bb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default maximum number of tokens to parse in each example doc field that is not stored with TermVector support. <a href="#ac1949c8c1e8afbc543b248b8f97476bb"></a><br/></td></tr>
<tr class="separator:ac1949c8c1e8afbc543b248b8f97476bb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a730dd62cd19edfecedd47ae2ebb5076a"><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_search_1_1_similar_1_1_more_like_this.html#a730dd62cd19edfecedd47ae2ebb5076a">DEFAULT_MIN_TERM_FREQ</a> = 2</td></tr>
<tr class="memdesc:a730dd62cd19edfecedd47ae2ebb5076a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ignore terms with less than this frequency in the source doc. <a href="#a730dd62cd19edfecedd47ae2ebb5076a"></a><br/></td></tr>
<tr class="separator:a730dd62cd19edfecedd47ae2ebb5076a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb4c15e7a2cf7aa0e13da83d95d6298c"><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_search_1_1_similar_1_1_more_like_this.html#afb4c15e7a2cf7aa0e13da83d95d6298c">DEFAULT_MIN_DOC_FREQ</a> = 5</td></tr>
<tr class="memdesc:afb4c15e7a2cf7aa0e13da83d95d6298c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ignore words which do not occur in at least this many docs. <a href="#afb4c15e7a2cf7aa0e13da83d95d6298c"></a><br/></td></tr>
<tr class="separator:afb4c15e7a2cf7aa0e13da83d95d6298c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad59f2a01524b21154f707dcbeb2a7aa1"><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_search_1_1_similar_1_1_more_like_this.html#ad59f2a01524b21154f707dcbeb2a7aa1">DEFAULT_MAX_DOC_FREQ</a> = int.MaxValue</td></tr>
<tr class="memdesc:ad59f2a01524b21154f707dcbeb2a7aa1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ignore words wich occur in more than this many docs <a href="#ad59f2a01524b21154f707dcbeb2a7aa1"></a><br/></td></tr>
<tr class="separator:ad59f2a01524b21154f707dcbeb2a7aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1a29c10967219376dcb6cec7e5b107be"><td class="memItemLeft" align="right" valign="top">const bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1a29c10967219376dcb6cec7e5b107be">DEFAULT_BOOST</a> = false</td></tr>
<tr class="memdesc:a1a29c10967219376dcb6cec7e5b107be"><td class="mdescLeft">&#160;</td><td class="mdescRight">Boost terms in query based on score. <a href="#a1a29c10967219376dcb6cec7e5b107be"></a><br/></td></tr>
<tr class="separator:a1a29c10967219376dcb6cec7e5b107be"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2e1a9b979fa9ce1eaebd94019b22c5eb"><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_search_1_1_similar_1_1_more_like_this.html#a2e1a9b979fa9ce1eaebd94019b22c5eb">DEFAULT_MIN_WORD_LENGTH</a> = 0</td></tr>
<tr class="memdesc:a2e1a9b979fa9ce1eaebd94019b22c5eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ignore words less than this length or if 0 then this has no effect. <a href="#a2e1a9b979fa9ce1eaebd94019b22c5eb"></a><br/></td></tr>
<tr class="separator:a2e1a9b979fa9ce1eaebd94019b22c5eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a76f82404cc474ff58d1e3b07e1750569"><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_search_1_1_similar_1_1_more_like_this.html#a76f82404cc474ff58d1e3b07e1750569">DEFAULT_MAX_WORD_LENGTH</a> = 0</td></tr>
<tr class="memdesc:a76f82404cc474ff58d1e3b07e1750569"><td class="mdescLeft">&#160;</td><td class="mdescRight">Ignore words greater than this length or if 0 then this has no effect. <a href="#a76f82404cc474ff58d1e3b07e1750569"></a><br/></td></tr>
<tr class="separator:a76f82404cc474ff58d1e3b07e1750569"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2c328c933818ccdca3733bc0642e45cd"><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_search_1_1_similar_1_1_more_like_this.html#a2c328c933818ccdca3733bc0642e45cd">DEFAULT_MAX_QUERY_TERMS</a> = 25</td></tr>
<tr class="memdesc:a2c328c933818ccdca3733bc0642e45cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Return a <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html" title="The abstract base class for queries. Instantiable subclasses are: TermQuery MultiTermQuery BooleanQ...">Query</a> with no more than this many terms. <a href="#a2c328c933818ccdca3733bc0642e45cd"></a><br/></td></tr>
<tr class="separator:a2c328c933818ccdca3733bc0642e45cd"><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:a4d5ea4426b25bd123d874022ef3c6d36"><td class="memItemLeft" align="right" valign="top">static readonly <a class="el" href="_more_like_this_8cs.html#a7f807a855319cb4e1efa0e1fcd2a537f">Analyzer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a4d5ea4426b25bd123d874022ef3c6d36">DEFAULT_ANALYZER</a> = new <a class="el" href="_more_like_this_8cs.html#a95c37490d2ac2832fbd090844a6c8d23">StandardAnalyzer</a>(Util.Version.LUCENE_CURRENT)</td></tr>
<tr class="memdesc:a4d5ea4426b25bd123d874022ef3c6d36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default analyzer to parse source doc with. <a href="#a4d5ea4426b25bd123d874022ef3c6d36"></a><br/></td></tr>
<tr class="separator:a4d5ea4426b25bd123d874022ef3c6d36"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aadbdcec74b7a82432f64584795ff83a4"><td class="memItemLeft" align="right" valign="top">static readonly System.String[]&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#aadbdcec74b7a82432f64584795ff83a4">DEFAULT_FIELD_NAMES</a> = new System.String[] { &quot;contents&quot; }</td></tr>
<tr class="memdesc:aadbdcec74b7a82432f64584795ff83a4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default field names. Null is used to specify that the field names should be looked up at runtime from the provided reader. <a href="#aadbdcec74b7a82432f64584795ff83a4"></a><br/></td></tr>
<tr class="separator:aadbdcec74b7a82432f64584795ff83a4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0fe76aa5a10219b60b588f1c4c1e4a36"><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_search_1_1_similar_1_1_more_like_this.html#a0fe76aa5a10219b60b588f1c4c1e4a36">DEFAULT_STOP_WORDS</a> = null</td></tr>
<tr class="memdesc:a0fe76aa5a10219b60b588f1c4c1e4a36"><td class="mdescLeft">&#160;</td><td class="mdescRight">Default set of stopwords. If null means to allow stop words. <a href="#a0fe76aa5a10219b60b588f1c4c1e4a36"></a><br/></td></tr>
<tr class="separator:a0fe76aa5a10219b60b588f1c4c1e4a36"><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:abc185edd35e3647a8067d029ea6d4663"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#abc185edd35e3647a8067d029ea6d4663">BoostFactor</a><code> [get, set]</code></td></tr>
<tr class="memdesc:abc185edd35e3647a8067d029ea6d4663"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the boost factor used when boosting terms <a href="#abc185edd35e3647a8067d029ea6d4663"></a><br/></td></tr>
<tr class="separator:abc185edd35e3647a8067d029ea6d4663"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a452e7c398ceb7223abd30d76f74413dd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similarity.html">Similarity</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a452e7c398ceb7223abd30d76f74413dd">Similarity</a><code> [get, set]</code></td></tr>
<tr class="separator:a452e7c398ceb7223abd30d76f74413dd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af345b016d0ffa3bb562e6f8ec2fbd4b7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="_more_like_this_8cs.html#a7f807a855319cb4e1efa0e1fcd2a537f">Analyzer</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#af345b016d0ffa3bb562e6f8ec2fbd4b7">Analyzer</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af345b016d0ffa3bb562e6f8ec2fbd4b7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the analyzer used to parse source doc with. The default analyzer is the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a4d5ea4426b25bd123d874022ef3c6d36" title="Default analyzer to parse source doc with.">DEFAULT_ANALYZER</a>. <a href="#af345b016d0ffa3bb562e6f8ec2fbd4b7"></a><br/></td></tr>
<tr class="separator:af345b016d0ffa3bb562e6f8ec2fbd4b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ade0a1363b76e46295be5c1dc7b4b9e3a"><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_search_1_1_similar_1_1_more_like_this.html#ade0a1363b76e46295be5c1dc7b4b9e3a">MinTermFreq</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ade0a1363b76e46295be5c1dc7b4b9e3a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the frequency below which terms will be ignored in the source doc. The default frequency is the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a730dd62cd19edfecedd47ae2ebb5076a" title="Ignore terms with less than this frequency in the source doc.">DEFAULT_MIN_TERM_FREQ</a>. <a href="#ade0a1363b76e46295be5c1dc7b4b9e3a"></a><br/></td></tr>
<tr class="separator:ade0a1363b76e46295be5c1dc7b4b9e3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a22fbf09750327ac200b634e6603eb87f"><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_search_1_1_similar_1_1_more_like_this.html#a22fbf09750327ac200b634e6603eb87f">MinDocFreq</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a22fbf09750327ac200b634e6603eb87f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the frequency at which words will be ignored which do not occur in at least this many docs. The default frequency is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#afb4c15e7a2cf7aa0e13da83d95d6298c" title="Ignore words which do not occur in at least this many docs.">DEFAULT_MIN_DOC_FREQ</a>. <a href="#a22fbf09750327ac200b634e6603eb87f"></a><br/></td></tr>
<tr class="separator:a22fbf09750327ac200b634e6603eb87f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0dfc9b91314b0eb171d2e1a4abba0a31"><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_search_1_1_similar_1_1_more_like_this.html#a0dfc9b91314b0eb171d2e1a4abba0a31">MaxDocFreq</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a0dfc9b91314b0eb171d2e1a4abba0a31"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum frequency in which words may still appear. Words that appear in more than this many docs will be ignored. The default frequency is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad59f2a01524b21154f707dcbeb2a7aa1" title="Ignore words wich occur in more than this many docs ">DEFAULT_MAX_DOC_FREQ</a> <a href="#a0dfc9b91314b0eb171d2e1a4abba0a31"></a><br/></td></tr>
<tr class="separator:a0dfc9b91314b0eb171d2e1a4abba0a31"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af2f8ce7bb5d502c7e496075297ea87fe"><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_search_1_1_similar_1_1_more_like_this.html#af2f8ce7bb5d502c7e496075297ea87fe">Boost</a><code> [get, set]</code></td></tr>
<tr class="memdesc:af2f8ce7bb5d502c7e496075297ea87fe"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets a boolean indicating whether to boost terms in query based on "score" or not. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1a29c10967219376dcb6cec7e5b107be" title="Boost terms in query based on score.">DEFAULT_BOOST</a>. <a href="#af2f8ce7bb5d502c7e496075297ea87fe"></a><br/></td></tr>
<tr class="separator:af2f8ce7bb5d502c7e496075297ea87fe"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8ad811cd0d9c44fa8308c6fdffa04378"><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_search_1_1_similar_1_1_more_like_this.html#a8ad811cd0d9c44fa8308c6fdffa04378">MinWordLen</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a8ad811cd0d9c44fa8308c6fdffa04378"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the minimum word length below which words will be ignored. Set this to 0 for no minimum word length. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a2e1a9b979fa9ce1eaebd94019b22c5eb" title="Ignore words less than this length or if 0 then this has no effect.">DEFAULT_MIN_WORD_LENGTH</a>. <a href="#a8ad811cd0d9c44fa8308c6fdffa04378"></a><br/></td></tr>
<tr class="separator:a8ad811cd0d9c44fa8308c6fdffa04378"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45ae63c3b6f59ad8000b027f264ab97c"><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_search_1_1_similar_1_1_more_like_this.html#a45ae63c3b6f59ad8000b027f264ab97c">MaxWordLen</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a45ae63c3b6f59ad8000b027f264ab97c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum word length above which words will be ignored. Set this to 0 for no maximum word length. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a76f82404cc474ff58d1e3b07e1750569" title="Ignore words greater than this length or if 0 then this has no effect.">DEFAULT_MAX_WORD_LENGTH</a>. <a href="#a45ae63c3b6f59ad8000b027f264ab97c"></a><br/></td></tr>
<tr class="separator:a45ae63c3b6f59ad8000b027f264ab97c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab213de904f424a356878274a0c99fea6"><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_search_1_1_similar_1_1_more_like_this.html#ab213de904f424a356878274a0c99fea6">MaxQueryTerms</a><code> [get, set]</code></td></tr>
<tr class="memdesc:ab213de904f424a356878274a0c99fea6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum number of query terms that will be included in any generated query. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a2c328c933818ccdca3733bc0642e45cd" title="Return a Query with no more than this many terms.">DEFAULT_MAX_QUERY_TERMS</a>. <a href="#ab213de904f424a356878274a0c99fea6"></a><br/></td></tr>
<tr class="separator:ab213de904f424a356878274a0c99fea6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34be8cfcff4168d5ffbc1f3347959f0e"><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_search_1_1_similar_1_1_more_like_this.html#a34be8cfcff4168d5ffbc1f3347959f0e">MaxNumTokensParsed</a><code> [get, set]</code></td></tr>
<tr class="memdesc:a34be8cfcff4168d5ffbc1f3347959f0e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets or sets the maximum number of tokens to parse in each example doc field that is not stored with TermVector support <a href="#a34be8cfcff4168d5ffbc1f3347959f0e"></a><br/></td></tr>
<tr class="separator:a34be8cfcff4168d5ffbc1f3347959f0e"><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>Generate "more like this" similarity queries. Based on this mail: </p>
<pre>
<a class="el" href="namespace_lucene.html">Lucene</a> does let you access the document frequency of terms, with IndexReader.DocFreq().
Term frequencies can be computed by re-tokenizing the text, which, for a single document,
is usually fast enough. But looking up the DocFreq() of every term in the document is
probably too slow.</pre><pre>You can use some heuristics to prune the set of terms, to avoid calling DocFreq() too much,
or at all. Since you're trying to maximize a tf*idf score, you're probably most interested
in terms with a high tf. Choosing a tf threshold even as low as two or three will radically
reduce the number of terms under consideration. Another heuristic is that terms with a
high idf (i.e., a low df) tend to be longer. So you could threshold the terms by the
number of characters, not selecting anything less than, e.g., six or seven characters.
With these sorts of heuristics you can usually find small set of, e.g., ten or fewer terms
that do a pretty good job of characterizing a document.</pre><pre>It all depends on what you're trying to do. If you're trying to eek out that last percent
of precision and recall regardless of computational difficulty so that you can win a TREC
competition, then the techniques I mention above are useless. But if you're trying to
provide a "more like this" button on a search results page that does a decent job and has
good performance, such techniques might be useful.</pre><pre>An efficient, effective "more-like-this" query generator would be a great contribution, if
anyone's interested. I'd imagine that it would take a Reader or a String (the document's
text), analyzer Analyzer, and return a set of representative terms using heuristics like those
above. The frequency and length thresholds could be parameters, etc.</pre><pre>Doug
</pre><h3>Initial Usage</h3>
<p>This class has lots of options to try to make it efficient and flexible. See the body of <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ae37c6e614772f48cd4b75d8729668781" title="Test driver. Pass in &quot;-i INDEX&quot; and then either &quot;-fn FILE&quot; or &quot;-url URL&quot;. ">Main</a> below in the source for real code, or if you want pseudo code, the simpliest possible usage is as follows. The bold fragment is specific to this class.</p>
<pre></pre><pre>IndexReader ir = ...
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_index_searcher.html" title="Implements search over a single IndexReader.">IndexSearcher</a> is = ...
<b>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html" title="Generate &quot;more like this&quot; similarity queries. Based on this mail:">MoreLikeThis</a> mlt = new MoreLikeThis(ir);
Reader target = ... </b><em>// orig source of doc you want to find similarities to</em><b>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html" title="The abstract base class for queries. Instantiable subclasses are: TermQuery MultiTermQuery BooleanQ...">Query</a> query = mlt.Like( target);
</b>
Hits hits = is.Search(query);
<em>// now the usual iteration thru 'hits' - the only thing to watch for is to make sure
you ignore the doc if it matches your 'target' document, as it should be similar to itself </em></pre><pre></pre><p>Thus you: </p>
<ol>
<li>
do your normal, <a class="el" href="namespace_lucene.html">Lucene</a> setup for searching, </li>
<li>
create a <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html" title="Generate &quot;more like this&quot; similarity queries. Based on this mail:">MoreLikeThis</a>, </li>
<li>
get the text of the doc you want to find similaries to </li>
<li>
then call one of the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1f2e0341982b35088a6de9765e232dba" title="Return a query that will return docs like the passed lucene document ID.">Like()</a> calls to generate a similarity query </li>
<li>
call the searcher to find the similar docs </li>
</ol>
<h3>More Advanced Usage</h3>
<p>You may want to use <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#acd9239078fd53f28aeee0384614f5bac" title="Sets the field names that will be used when generating the &#39;More Like This&#39; query. Set this to null for the field names to be determined at runtime from the IndexReader provided in the constructor.">SetFieldNames</a> so you can examine multiple fields (e.g. body and title) for similarity. </p>
<p>Depending on the size of your index and the size and makeup of your documents you may want to call the other set methods to control how the similarity queries are generated: </p>
<ul>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ade0a1363b76e46295be5c1dc7b4b9e3a" title="Gets or sets the frequency below which terms will be ignored in the source doc. The default frequency...">MinTermFreq</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a22fbf09750327ac200b634e6603eb87f" title="Gets or sets the frequency at which words will be ignored which do not occur in at least this many do...">MinDocFreq</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a0dfc9b91314b0eb171d2e1a4abba0a31" title="Gets or sets the maximum frequency in which words may still appear. Words that appear in more than th...">MaxDocFreq</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a41e829f9c2eff5479363d1a7bf460754" title="Set the maximum percentage in which words may still appear. Words that appear in more than this many ...">SetMaxDocFreqPct(int)</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a8ad811cd0d9c44fa8308c6fdffa04378" title="Gets or sets the minimum word length below which words will be ignored. Set this to 0 for no minimum ...">MinWordLen</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a45ae63c3b6f59ad8000b027f264ab97c" title="Gets or sets the maximum word length above which words will be ignored. Set this to 0 for no maximum ...">MaxWordLen</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ab213de904f424a356878274a0c99fea6" title="Gets or sets the maximum number of query terms that will be included in any generated query...">MaxQueryTerms</a> </li>
<li>
<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a34be8cfcff4168d5ffbc1f3347959f0e" title="Gets or sets the maximum number of tokens to parse in each example doc field that is not stored with ...">MaxNumTokensParsed</a> </li>
<li>
SetStopWords(ISet{string}) </li>
</ul>
<hr/>
<pre>
Changes: Mark Harwood 29/02/04
Some bugfixing, some refactoring, some optimisation.</p>
<ul>
<li>bugfix: retrieveTerms(int docNum) was not working for indexes without a termvector -added missing code</li>
<li>bugfix: No significant terms being created for fields with a termvector - because
was only counting one occurence per term/field pair in calculations(ie not including frequency info from TermVector)</li>
<li>refactor: moved common code into isNoiseWord()</li>
<li>optimise: when no termvector support available - used maxNumTermsParsed to limit amount of tokenization
</li>
</ul>
</pre><pre>
</pre>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00138">138</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ade9e667d468f30ba63449aa545dfdcd2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Search.Similar.MoreLikeThis.MoreLikeThis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_reader.html">IndexReader</a>&#160;</td>
<td class="paramname"><em>ir</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Constructor requiring an IndexReader.</p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00274">274</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a33b9ea6e0dc34f0a659b91a134181f0e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Search.Similar.MoreLikeThis.MoreLikeThis </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_index_reader.html">IndexReader</a>&#160;</td>
<td class="paramname"><em>ir</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similarity.html">Lucene.Net.Search.Similarity</a>&#160;</td>
<td class="paramname"><em>sim</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="_more_like_this_8cs_source.html#l00278">278</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="ae6d047e909592b8c4917b001e822a9c3"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String Lucene.Net.Search.Similar.MoreLikeThis.DescribeParams </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Describe the parameters that control how the "more like this" query is formed.</p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00613">613</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a5fcb128a8b143a9015fb11996cf0e874"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String [] Lucene.Net.Search.Similar.MoreLikeThis.GetFieldNames </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the field names that will be used when generating the 'More Like This' query. The default field names that will be used is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#aadbdcec74b7a82432f64584795ff83a4" title="Default field names. Null is used to specify that the field names should be looked up at runtime from...">DEFAULT_FIELD_NAMES</a>. </p>
<dl class="section return"><dt>Returns</dt><dd>the field names that will be used when generating the 'More Like This' query. </dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00364">364</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad8743b81b0b5bc642c0608c455351d5e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ISet&lt;string&gt; Lucene.Net.Search.Similar.MoreLikeThis.GetStopWords </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Get the current stop words being used.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a6ad2b31d0990258ee59a0096fd1986d0" title="Set the set of stopwords. Any word in this set is considered &quot;uninteresting&quot; and ignored. Even if your Analyzer allows stopwords, you might want to tell the MoreLikeThis code to ignore them, as for the purposes of document similarity it seems reasonable to assume that &quot;a stop word is never interesting&quot;.">SetStopWords</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00423">423</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1f2e0341982b35088a6de9765e232dba"></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_search_1_1_query.html">Query</a> Lucene.Net.Search.Similar.MoreLikeThis.Like </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>docNum</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a query that will return docs like the passed lucene document ID.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">docNum</td><td>the documentID of the lucene doc to generate the 'More Like This" query for.</td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>a query that will return docs like the passed lucene document ID.</dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00453">453</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a617a370d5a6db91ce545353540fcd577"></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_search_1_1_query.html">Query</a> Lucene.Net.Search.Similar.MoreLikeThis.Like </td>
<td>(</td>
<td class="paramtype">System.IO.FileInfo&#160;</td>
<td class="paramname"><em>f</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a query that will return docs like the passed file. </p>
<dl class="section return"><dt>Returns</dt><dd>a query that will return docs like the passed file. </dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00470">470</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a2317f208f51c7ed38a5d85117e498c9f"></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_search_1_1_query.html">Query</a> Lucene.Net.Search.Similar.MoreLikeThis.Like </td>
<td>(</td>
<td class="paramtype">System.Uri&#160;</td>
<td class="paramname"><em>u</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a query that will return docs like the passed URL. </p>
<dl class="section return"><dt>Returns</dt><dd>a query that will return docs like the passed URL. </dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00487">487</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad18b79b83980de5b652a10c3e5d9ba38"></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_search_1_1_query.html">Query</a> Lucene.Net.Search.Similar.MoreLikeThis.Like </td>
<td>(</td>
<td class="paramtype">System.IO.Stream&#160;</td>
<td class="paramname"><em>is_Renamed</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a query that will return docs like the passed stream. </p>
<dl class="section return"><dt>Returns</dt><dd>a query that will return docs like the passed stream. </dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00497">497</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad4e7a170a934d04c482359c4dbedfb7a"></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_search_1_1_query.html">Query</a> Lucene.Net.Search.Similar.MoreLikeThis.Like </td>
<td>(</td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>r</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a query that will return docs like the passed Reader. </p>
<dl class="section return"><dt>Returns</dt><dd>a query that will return docs like the passed Reader. </dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00507">507</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ae37c6e614772f48cd4b75d8729668781"></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.Search.Similar.MoreLikeThis.Main </td>
<td>(</td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>a</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>Test driver. Pass in "-i INDEX" and then either "-fn FILE" or "-url URL". </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00638">638</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="acc344770e52b25fc6672cb20dff57bb2"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String [] Lucene.Net.Search.Similar.MoreLikeThis.RetrieveInterestingTerms </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>docNum</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00872">872</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ac7a96486573d69fc863a5944a3765839"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">System.String [] Lucene.Net.Search.Similar.MoreLikeThis.RetrieveInterestingTerms </td>
<td>(</td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>r</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Convenience routine to make it easy to return the most interesting words in a document. More advanced users will call RetrieveTerms(System.IO.TextReader) directly. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">r</td><td>the source document </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><p class="startdd">the most interesting words in the document</p>
<p class="enddd"></p>
</dd></dl>
<dl class="section see"><dt>See Also</dt><dd>RetrieveTerms(System.IO.TextReader)</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ab213de904f424a356878274a0c99fea6" title="Gets or sets the maximum number of query terms that will be included in any generated query...">MaxQueryTerms</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00901">901</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a5361a52d9ea2eaf432118ca8a1a71d9e"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PriorityQueue&lt;object[]&gt; Lucene.Net.Search.Similar.MoreLikeThis.RetrieveTerms </td>
<td>(</td>
<td class="paramtype">System.IO.TextReader&#160;</td>
<td class="paramname"><em>r</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Find words for a more-like-this query former. The result is a priority queue of arrays with one entry for <b>every word</b> in the document. Each array has 6 elements. The elements are: </p>
<ol>
<li>
The word (String) </li>
<li>
The top field that this word comes from (String) </li>
<li>
The score for this word (Float) </li>
<li>
The IDF value (Float) </li>
<li>
The frequency of this word in the index (Integer) </li>
<li>
The frequency of this word in the source document (Integer) </li>
</ol>
<p>This is a somewhat "advanced" routine, and in general only the 1st entry in the array is of interest. This method is exposed so that you can identify the "interesting words" in a document. For an easier method to call see RetrieveInterestingTerms(System.IO.TextReader).</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">r</td><td>the reader that has the content of the document </td></tr>
</table>
</dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><p class="startdd">the most intresting words in the document ordered by score, with the highest scoring, or best entry, first</p>
<p class="enddd"></p>
</dd></dl>
<dl class="section see"><dt>See Also</dt><dd>RetrieveInterestingTerms(System.IO.TextReader)</dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00860">860</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="acd9239078fd53f28aeee0384614f5bac"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Search.Similar.MoreLikeThis.SetFieldNames </td>
<td>(</td>
<td class="paramtype">System.String[]&#160;</td>
<td class="paramname"><em>fieldNames</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Sets the field names that will be used when generating the 'More Like This' query. Set this to null for the field names to be determined at runtime from the IndexReader provided in the constructor. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">fieldNames</td><td>the field names that will be used when generating the 'More Like This' query. </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00377">377</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a41e829f9c2eff5479363d1a7bf460754"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Search.Similar.MoreLikeThis.SetMaxDocFreqPct </td>
<td>(</td>
<td class="paramtype">int&#160;</td>
<td class="paramname"><em>maxPercentage</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the maximum percentage in which words may still appear. Words that appear in more than this many percent of all docs will be ignored. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">maxPercentage</td><td>the maximum percentage of documents (0-100) that a term may appear in to be still considered relevant </td></tr>
</table>
</dd>
</dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00344">344</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a6ad2b31d0990258ee59a0096fd1986d0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Search.Similar.MoreLikeThis.SetStopWords </td>
<td>(</td>
<td class="paramtype">ISet&lt; string &gt;&#160;</td>
<td class="paramname"><em>stopWords</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Set the set of stopwords. Any word in this set is considered "uninteresting" and ignored. Even if your Analyzer allows stopwords, you might want to tell the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html" title="Generate &quot;more like this&quot; similarity queries. Based on this mail:">MoreLikeThis</a> code to ignore them, as for the purposes of document similarity it seems reasonable to assume that "a stop word is never interesting". </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">stopWords</td><td>set of stopwords, if null it means to allow stop words</td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See Also</dt><dd>Lucene.Net.Analysis.StopFilter.MakeStopSet(string[])</dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad8743b81b0b5bc642c0608c455351d5e" title="Get the current stop words being used.">GetStopWords</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00415">415</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a class="anchor" id="a4d5ea4426b25bd123d874022ef3c6d36"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">readonly <a class="el" href="_more_like_this_8cs.html#a7f807a855319cb4e1efa0e1fcd2a537f">Analyzer</a> Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_ANALYZER = new <a class="el" href="_more_like_this_8cs.html#a95c37490d2ac2832fbd090844a6c8d23">StandardAnalyzer</a>(Util.Version.LUCENE_CURRENT)</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>Default analyzer to parse source doc with.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#af345b016d0ffa3bb562e6f8ec2fbd4b7" title="Gets or sets the analyzer used to parse source doc with. The default analyzer is the DEFAULT_ANALYZER...">Analyzer</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00150">150</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1a29c10967219376dcb6cec7e5b107be"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const bool Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_BOOST = false</td>
</tr>
</table>
</div><div class="memdoc">
<p>Boost terms in query based on score.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#af2f8ce7bb5d502c7e496075297ea87fe" title="Gets or sets a boolean indicating whether to boost terms in query based on &quot;score&quot; or not...">Boost</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#af2f8ce7bb5d502c7e496075297ea87fe" title="Gets or sets a boolean indicating whether to boost terms in query based on &quot;score&quot; or not...">Boost</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00178">178</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="aadbdcec74b7a82432f64584795ff83a4"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">readonly System.String [] Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_FIELD_NAMES = new System.String[] { &quot;contents&quot; }</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>Default field names. Null is used to specify that the field names should be looked up at runtime from the provided reader. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00183">183</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ad59f2a01524b21154f707dcbeb2a7aa1"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MAX_DOC_FREQ = int.MaxValue</td>
</tr>
</table>
</div><div class="memdoc">
<p>Ignore words wich occur in more than this many docs </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a0dfc9b91314b0eb171d2e1a4abba0a31" title="Gets or sets the maximum frequency in which words may still appear. Words that appear in more than th...">MaxDocFreq</a>, <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a0dfc9b91314b0eb171d2e1a4abba0a31" title="Gets or sets the maximum frequency in which words may still appear. Words that appear in more than th...">MaxDocFreq</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00171">171</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ac1949c8c1e8afbc543b248b8f97476bb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MAX_NUM_TOKENS_PARSED = 5000</td>
</tr>
</table>
</div><div class="memdoc">
<p>Default maximum number of tokens to parse in each example doc field that is not stored with TermVector support.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a34be8cfcff4168d5ffbc1f3347959f0e" title="Gets or sets the maximum number of tokens to parse in each example doc field that is not stored with ...">MaxNumTokensParsed</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00144">144</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a2c328c933818ccdca3733bc0642e45cd"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MAX_QUERY_TERMS = 25</td>
</tr>
</table>
</div><div class="memdoc">
<p>Return a <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html" title="The abstract base class for queries. Instantiable subclasses are: TermQuery MultiTermQuery BooleanQ...">Query</a> with no more than this many terms. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_boolean_query.html#aed4cadbd29766e321ff35a244a339a5c" title="Gets or sets the maximum number of clauses permitted, 1024 by default. Attempts to add more than the ...">BooleanQuery.MaxClauseCount</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ab213de904f424a356878274a0c99fea6" title="Gets or sets the maximum number of query terms that will be included in any generated query...">MaxQueryTerms</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ab213de904f424a356878274a0c99fea6" title="Gets or sets the maximum number of query terms that will be included in any generated query...">MaxQueryTerms</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00221">221</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a76f82404cc474ff58d1e3b07e1750569"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MAX_WORD_LENGTH = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Ignore words greater than this length or if 0 then this has no effect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a45ae63c3b6f59ad8000b027f264ab97c" title="Gets or sets the maximum word length above which words will be ignored. Set this to 0 for no maximum ...">MaxWordLen</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a45ae63c3b6f59ad8000b027f264ab97c" title="Gets or sets the maximum word length above which words will be ignored. Set this to 0 for no maximum ...">MaxWordLen</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00197">197</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="afb4c15e7a2cf7aa0e13da83d95d6298c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MIN_DOC_FREQ = 5</td>
</tr>
</table>
</div><div class="memdoc">
<p>Ignore words which do not occur in at least this many docs.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a22fbf09750327ac200b634e6603eb87f" title="Gets or sets the frequency at which words will be ignored which do not occur in at least this many do...">MinDocFreq</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a22fbf09750327ac200b634e6603eb87f" title="Gets or sets the frequency at which words will be ignored which do not occur in at least this many do...">MinDocFreq</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00164">164</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a730dd62cd19edfecedd47ae2ebb5076a"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MIN_TERM_FREQ = 2</td>
</tr>
</table>
</div><div class="memdoc">
<p>Ignore terms with less than this frequency in the source doc.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ade0a1363b76e46295be5c1dc7b4b9e3a" title="Gets or sets the frequency below which terms will be ignored in the source doc. The default frequency...">MinTermFreq</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ade0a1363b76e46295be5c1dc7b4b9e3a" title="Gets or sets the frequency below which terms will be ignored in the source doc. The default frequency...">MinTermFreq</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00157">157</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a2e1a9b979fa9ce1eaebd94019b22c5eb"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">const int Lucene.Net.Search.Similar.MoreLikeThis.DEFAULT_MIN_WORD_LENGTH = 0</td>
</tr>
</table>
</div><div class="memdoc">
<p>Ignore words less than this length or if 0 then this has no effect.</p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a8ad811cd0d9c44fa8308c6fdffa04378" title="Gets or sets the minimum word length below which words will be ignored. Set this to 0 for no minimum ...">MinWordLen</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a8ad811cd0d9c44fa8308c6fdffa04378" title="Gets or sets the minimum word length below which words will be ignored. Set this to 0 for no minimum ...">MinWordLen</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00190">190</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a0fe76aa5a10219b60b588f1c4c1e4a36"></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.Search.Similar.MoreLikeThis.DEFAULT_STOP_WORDS = null</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>Default set of stopwords. If null means to allow stop words. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a6ad2b31d0990258ee59a0096fd1986d0" title="Set the set of stopwords. Any word in this set is considered &quot;uninteresting&quot; and ignored. Even if your Analyzer allows stopwords, you might want to tell the MoreLikeThis code to ignore them, as for the purposes of document similarity it seems reasonable to assume that &quot;a stop word is never interesting&quot;.">SetStopWords</a></dd></dl>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad8743b81b0b5bc642c0608c455351d5e" title="Get the current stop words being used.">GetStopWords</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00207">207</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Property Documentation</h2>
<a class="anchor" id="af345b016d0ffa3bb562e6f8ec2fbd4b7"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="_more_like_this_8cs.html#a7f807a855319cb4e1efa0e1fcd2a537f">Analyzer</a> Lucene.Net.Search.Similar.MoreLikeThis.Analyzer</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>Gets or sets the analyzer used to parse source doc with. The default analyzer is the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a4d5ea4426b25bd123d874022ef3c6d36" title="Default analyzer to parse source doc with.">DEFAULT_ANALYZER</a>. </p>
<p>An analyzer is not required for generating a query with the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1f2e0341982b35088a6de9765e232dba" title="Return a query that will return docs like the passed lucene document ID.">Like(int)</a> method, all other 'like' methods require an analyzer. </p>
<p>the analyzer that will be used to parse source doc with. </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a4d5ea4426b25bd123d874022ef3c6d36" title="Default analyzer to parse source doc with.">DEFAULT_ANALYZER</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00300">300</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af2f8ce7bb5d502c7e496075297ea87fe"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool Lucene.Net.Search.Similar.MoreLikeThis.Boost</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>Gets or sets a boolean indicating whether to boost terms in query based on "score" or not. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a1a29c10967219376dcb6cec7e5b107be" title="Boost terms in query based on score.">DEFAULT_BOOST</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00353">353</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="abc185edd35e3647a8067d029ea6d4663"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">float Lucene.Net.Search.Similar.MoreLikeThis.BoostFactor</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>Gets or sets the boost factor used when boosting terms </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00268">268</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a0dfc9b91314b0eb171d2e1a4abba0a31"></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.Search.Similar.MoreLikeThis.MaxDocFreq</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>Gets or sets the maximum frequency in which words may still appear. Words that appear in more than this many docs will be ignored. The default frequency is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ad59f2a01524b21154f707dcbeb2a7aa1" title="Ignore words wich occur in more than this many docs ">DEFAULT_MAX_DOC_FREQ</a> </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00331">331</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a34be8cfcff4168d5ffbc1f3347959f0e"></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.Search.Similar.MoreLikeThis.MaxNumTokensParsed</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>Gets or sets the maximum number of tokens to parse in each example doc field that is not stored with TermVector support </p>
<dl class="section see"><dt>See Also</dt><dd><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#ac1949c8c1e8afbc543b248b8f97476bb" title="Default maximum number of tokens to parse in each example doc field that is not stored with TermVecto...">DEFAULT_MAX_NUM_TOKENS_PARSED</a></dd></dl>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00445">445</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ab213de904f424a356878274a0c99fea6"></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.Search.Similar.MoreLikeThis.MaxQueryTerms</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>Gets or sets the maximum number of query terms that will be included in any generated query. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a2c328c933818ccdca3733bc0642e45cd" title="Return a Query with no more than this many terms.">DEFAULT_MAX_QUERY_TERMS</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00434">434</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a45ae63c3b6f59ad8000b027f264ab97c"></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.Search.Similar.MoreLikeThis.MaxWordLen</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>Gets or sets the maximum word length above which words will be ignored. Set this to 0 for no maximum word length. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a76f82404cc474ff58d1e3b07e1750569" title="Ignore words greater than this length or if 0 then this has no effect.">DEFAULT_MAX_WORD_LENGTH</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00397">397</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a22fbf09750327ac200b634e6603eb87f"></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.Search.Similar.MoreLikeThis.MinDocFreq</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>Gets or sets the frequency at which words will be ignored which do not occur in at least this many docs. The default frequency is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#afb4c15e7a2cf7aa0e13da83d95d6298c" title="Ignore words which do not occur in at least this many docs.">DEFAULT_MIN_DOC_FREQ</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00320">320</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ade0a1363b76e46295be5c1dc7b4b9e3a"></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.Search.Similar.MoreLikeThis.MinTermFreq</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>Gets or sets the frequency below which terms will be ignored in the source doc. The default frequency is the <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a730dd62cd19edfecedd47ae2ebb5076a" title="Ignore terms with less than this frequency in the source doc.">DEFAULT_MIN_TERM_FREQ</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00310">310</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a8ad811cd0d9c44fa8308c6fdffa04378"></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.Search.Similar.MoreLikeThis.MinWordLen</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>Gets or sets the minimum word length below which words will be ignored. Set this to 0 for no minimum word length. The default is <a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similar_1_1_more_like_this.html#a2e1a9b979fa9ce1eaebd94019b22c5eb" title="Ignore words less than this length or if 0 then this has no effect.">DEFAULT_MIN_WORD_LENGTH</a>. </p>
<p>Definition at line <a class="el" href="_more_like_this_8cs_source.html#l00387">387</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a452e7c398ceb7223abd30d76f74413dd"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_similarity.html">Similarity</a> Lucene.Net.Search.Similar.MoreLikeThis.Similarity</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="_more_like_this_8cs_source.html#l00285">285</a> of file <a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>contrib/Queries/Similar/<a class="el" href="_more_like_this_8cs_source.html">MoreLikeThis.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 3 2013 02:12:58 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>