blob: 14a0c32330d14a0f42cfb96cdea16dd7253d6917 [file] [log] [blame]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3"/>
<title>Lucene.Net: Lucene.Net.Index.Memory.MemoryIndex Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
$(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="lucene-net-icon-128x128.png"/></td>
<td style="padding-left: 0.5em;">
<div id="projectname">Lucene.Net
&#160;<span id="projectnumber">3.0.3</span>
</div>
<div id="projectbrief">Lucene.Net is a .NET port of the Java Lucene Indexing Library</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<div id="navrow1" class="tabs">
<ul class="tablist">
<li><a href="Index.html"><span>Main&#160;Page</span></a></li>
<li><a href="namespaces.html"><span>Packages</span></a></li>
<li class="current"><a href="annotated.html"><span>Classes</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
<li>
<div id="MSearchBox" class="MSearchBoxInactive">
<span class="left">
<img id="MSearchSelect" src="search/mag_sel.png"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
alt=""/>
<input type="text" id="MSearchField" value="Search" accesskey="S"
onfocus="searchBox.OnSearchFieldFocus(true)"
onblur="searchBox.OnSearchFieldFocus(false)"
onkeyup="searchBox.OnSearchFieldChange(event)"/>
</span><span class="right">
<a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
</span>
</div>
</li>
</ul>
</div>
<div id="navrow2" class="tabs2">
<ul class="tablist">
<li><a href="annotated.html"><span>Class&#160;List</span></a></li>
<li><a href="classes.html"><span>Class&#160;Index</span></a></li>
<li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
<li><a href="functions.html"><span>Class&#160;Members</span></a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Properties</a></div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="namespace_lucene.html">Lucene</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net.html">Net</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_index.html">Index</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_index_1_1_memory.html">Memory</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html">MemoryIndex</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="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">Lucene.Net.Index.Memory.MemoryIndex Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>High-performance single-document main memory Apache <a class="el" href="namespace_lucene.html">Lucene</a> fulltext search index.
<a href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.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:aa243a9af9e886239bd2f83dd6c2ec79c"><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_index_1_1_memory_1_1_memory_index.html#aa243a9af9e886239bd2f83dd6c2ec79c">MemoryIndex</a> ()</td></tr>
<tr class="separator:aa243a9af9e886239bd2f83dd6c2ec79c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6c417595cc2e27722bb460f3fb11eea0"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#a6c417595cc2e27722bb460f3fb11eea0">AddField</a> (String fieldName, String text, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html">Analyzer</a> analyzer)</td></tr>
<tr class="separator:a6c417595cc2e27722bb460f3fb11eea0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a240e09c43949d96132533e6edce8643c"><td class="memItemLeft" align="right" valign="top"><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_index_1_1_memory_1_1_memory_index.html#a240e09c43949d96132533e6edce8643c">CreateKeywordTokenStream&lt; T &gt;</a> (ICollection&lt; T &gt; keywords)</td></tr>
<tr class="separator:a240e09c43949d96132533e6edce8643c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a972cd0130f17047f459abfcdf6182c96"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#a972cd0130f17047f459abfcdf6182c96">AddField</a> (String fieldName, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a> stream)</td></tr>
<tr class="separator:a972cd0130f17047f459abfcdf6182c96"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae99b1c199a9777a9aa0403e694eb2c70"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#ae99b1c199a9777a9aa0403e694eb2c70">AddField</a> (String fieldName, <a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a> stream, float boost)</td></tr>
<tr class="separator:ae99b1c199a9777a9aa0403e694eb2c70"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af30f02d7db003f5cb220ead3cf4a6999"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_index_searcher.html">IndexSearcher</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#af30f02d7db003f5cb220ead3cf4a6999">CreateSearcher</a> ()</td></tr>
<tr class="separator:af30f02d7db003f5cb220ead3cf4a6999"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1440735a21037a2db07ae939fb3aed13"><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_index_1_1_memory_1_1_memory_index.html#a1440735a21037a2db07ae939fb3aed13">Search</a> (<a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a> query)</td></tr>
<tr class="separator:a1440735a21037a2db07ae939fb3aed13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1d5a1c6139867353429c2f1a4a2c5906"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#a1d5a1c6139867353429c2f1a4a2c5906">GetMemorySize</a> ()</td></tr>
<tr class="separator:a1d5a1c6139867353429c2f1a4a2c5906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9c72a22b62302785eb2604830f23a97"><td class="memItemLeft" align="right" valign="top">override String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#ab9c72a22b62302785eb2604830f23a97">ToString</a> ()</td></tr>
<tr class="separator:ab9c72a22b62302785eb2604830f23a97"><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>High-performance single-document main memory Apache <a class="el" href="namespace_lucene.html">Lucene</a> fulltext search index. </p>
<h4>Overview</h4>
<p>This class is a replacement/substitute for a large subset of <a class="el" href="">RAMDirectory</a> functionality. It is designed to enable maximum efficiency for on-the-fly matchmaking combining structured and fuzzy fulltext search in realtime streaming applications such as Nux XQuery based XML message queues, publish-subscribe systems for Blogs/newsfeeds, text chat, data acquisition and distribution systems, application level routers, firewalls, classifiers, etc. Rather than targeting fulltext search of infrequent queries over huge persistent data archives (historic search), this class targets fulltext search of huge numbers of queries over comparatively small transient realtime data (prospective search). For example as in </p>
<pre>
float score = search(String text, Query query)
</pre> <p>Each instance can hold at most one <a class="el" href="namespace_lucene.html">Lucene</a> "document", with a document containing zero or more "fields", each field having a name and a fulltext value. The fulltext value is tokenized (split and transformed) into zero or more index terms (aka words) on <code>addField()</code>, according to the policy implemented by an Analyzer. For example, <a class="el" href="namespace_lucene.html">Lucene</a> analyzers can split on whitespace, normalize to lower case for case insensitivity, ignore common terms with little discriminatory value such as "he", "in", "and" (stop words), reduce the terms to their natural linguistic root form such as "fishing" being reduced to "fish" (stemming), resolve synonyms/inflexions/thesauri (upon indexing and/or querying), etc. For details, see <a href="http://today.java.net/pub/a/today/2003/07/30/LuceneIntro.html" target="_blank">Lucene Analyzer Intro</a>. </p>
<p>Arbitrary <a class="el" href="namespace_lucene.html">Lucene</a> queries can be run against this class - see <a href="../../../../../../../queryparsersyntax.html" target="_blank">Lucene Query Syntax</a> as well as <a href="http://today.java.net/pub/a/today/2003/11/07/QueryParserRules.html" target="_blank">Query Parser Rules</a>. Note that a <a class="el" href="namespace_lucene.html">Lucene</a> query selects on the field names and associated (indexed) tokenized terms, not on the original fulltext(s) - the latter are not stored but rather thrown away immediately after tokenization. </p>
<p>For some interesting background information on search technology, see Bob Wyman's <a href="http://bobwyman.pubsub.com/main/2005/05/mary_hodder_poi.html" target="_blank">Prospective Search</a>, Jim Gray's <a href="http://www.acmqueue.org/modules.php?name=Content&amp;amp;pa=showpage&amp;amp;pid=293&amp;amp;page=4" target="_blank">A Call to Arms - Custom subscriptions</a>, and Tim Bray's <a href="http://www.tbray.org/ongoing/When/200x/2003/07/30/OnSearchTOC" target="_blank">On Search, the Series</a>.</p>
<h4>Example Usage</h4>
<pre>
Analyzer analyzer = PatternAnalyzer.DEFAULT_ANALYZER;
//Analyzer analyzer = new SimpleAnalyzer();
<a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html" title="High-performance single-document main memory Apache Lucene fulltext search index.">MemoryIndex</a> index = new <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html#aa243a9af9e886239bd2f83dd6c2ec79c">MemoryIndex()</a>;
index.addField("content", "Readings about Salmons and other select Alaska fishing Manuals", analyzer);
index.addField("author", "Tales of James", analyzer);
QueryParser parser = new QueryParser("content", analyzer);
float score = index.search(parser.parse("+author:james +salmon~ +fish/// manual~"));
if (score &gt; 0.0f) {
System.out.println("it's a match");
} else {
System.out.println("no match found");
}
System.out.println("indexData=" + index.toString());
</pre><h4>Example XQuery Usage</h4>
<pre>
(: An XQuery that finds all books authored by James that have something to do with "salmon fishing manuals", sorted by relevance :)
declare namespace lucene = "java:nux.xom.pool.FullTextUtil";
declare variable $query := "+salmon~ +fish/// manual~"; (: any arbitrary <a class="el" href="namespace_lucene.html">Lucene</a> query can go here :)</pre><pre>for $book in /books/book[author="James" and lucene:match(abstract, $query) &gt; 0.0]
let $score := lucene:match($book/abstract, $query)
order by $score descending
return $book
</pre><h4>No thread safety guarantees</h4>
<p>An instance can be queried multiple times with the same or different queries, but an instance is not thread-safe. If desired use idioms such as: </p>
<pre>
<a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html" title="High-performance single-document main memory Apache Lucene fulltext search index.">MemoryIndex</a> index = ...
synchronized (index) {
// read and/or write index (i.e. add fields and/or query)
}
</pre><h4>Performance Notes</h4>
<p>Internally there's a new data structure geared towards efficient indexing and searching, plus the necessary support code to seamlessly plug into the <a class="el" href="namespace_lucene.html">Lucene</a> framework. </p>
<p>This class performs very well for very small texts (e.g. 10 chars) as well as for large texts (e.g. 10 MB) and everything in between. Typically, it is about 10-100 times faster than <code>RAMDirectory</code>. Note that <code>RAMDirectory</code> has particularly large efficiency overheads for small to medium sized texts, both in time and space. Indexing a field with N tokens takes O(N) in the best case, and O(N logN) in the worst case. <a class="el" href="namespace_lucene_1_1_net_1_1_index_1_1_memory.html">Memory</a> consumption is probably larger than for <code>RAMDirectory</code>. </p>
<p>Example throughput of many simple term queries over a single <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_memory_1_1_memory_index.html" title="High-performance single-document main memory Apache Lucene fulltext search index.">MemoryIndex</a>: ~500000 queries/sec on a MacBook Pro, jdk 1.5.0_06, server VM. As always, your mileage may vary. </p>
<p>If you're curious about the whereabouts of bottlenecks, run java 1.5 with the non-perturbing '-server -agentlib:hprof=cpu=samples,depth=10' flags, then study the trace log and correlate its hotspot trailer with its call stack headers (see <a href="http://java.sun.com/developer/technicalArticles/Programming/HPROF.html" target="_blank">hprof tracing </a>).</p>
<p>/summary&gt; </p>
<p>Definition at line <a class="el" href="_empty_collector_8cs_source.html#l00030">30</a> of file <a class="el" href="_empty_collector_8cs_source.html">EmptyCollector.cs</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aa243a9af9e886239bd2f83dd6c2ec79c"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">Lucene.Net.Index.Memory.MemoryIndex.MemoryIndex </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00177">177</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a6c417595cc2e27722bb460f3fb11eea0"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.Memory.MemoryIndex.AddField </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>text</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_analyzer.html">Analyzer</a>&#160;</td>
<td class="paramname"><em>analyzer</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="_memory_index_8cs_source.html#l00216">216</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a972cd0130f17047f459abfcdf6182c96"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.Memory.MemoryIndex.AddField </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td>
<td class="paramname"><em>stream</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="_memory_index_8cs_source.html#l00259">259</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ae99b1c199a9777a9aa0403e694eb2c70"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void Lucene.Net.Index.Memory.MemoryIndex.AddField </td>
<td>(</td>
<td class="paramtype">String&#160;</td>
<td class="paramname"><em>fieldName</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_analysis_1_1_token_stream.html">TokenStream</a>&#160;</td>
<td class="paramname"><em>stream</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">float&#160;</td>
<td class="paramname"><em>boost</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="_memory_index_8cs_source.html#l00279">279</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a240e09c43949d96132533e6edce8643c"></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_analysis_1_1_token_stream.html">TokenStream</a> Lucene.Net.Index.Memory.MemoryIndex.CreateKeywordTokenStream&lt; T &gt; </td>
<td>(</td>
<td class="paramtype">ICollection&lt; T &gt;&#160;</td>
<td class="paramname"><em>keywords</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00242">242</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="af30f02d7db003f5cb220ead3cf4a6999"></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_index_searcher.html">IndexSearcher</a> Lucene.Net.Index.Memory.MemoryIndex.CreateSearcher </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00364">364</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1d5a1c6139867353429c2f1a4a2c5906"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int Lucene.Net.Index.Memory.MemoryIndex.GetMemorySize </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00428">428</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="a1440735a21037a2db07ae939fb3aed13"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">float Lucene.Net.Index.Memory.MemoryIndex.Search </td>
<td>(</td>
<td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_search_1_1_query.html">Query</a>&#160;</td>
<td class="paramname"><em>query</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00384">384</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<a class="anchor" id="ab9c72a22b62302785eb2604830f23a97"></a>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">override String Lucene.Net.Index.Memory.MemoryIndex.ToString </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Definition at line <a class="el" href="_memory_index_8cs_source.html#l00494">494</a> of file <a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>contrib/Memory/<a class="el" href="_empty_collector_8cs_source.html">EmptyCollector.cs</a></li>
<li>contrib/Memory/<a class="el" href="_memory_index_8cs_source.html">MemoryIndex.cs</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Thu Jan 3 2013 02:12:55 for Lucene.Net by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3
</small></address>
</body>
</html>