Modified: lucy/site/trunk/content/docs/c/Lucy/Search/ANDQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/ANDQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/ANDQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/ANDQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -116,6 +116,58 @@ memory address.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::PolyQuery</h4> +<dl> +<dt id="func_Add_Child">Add_Child</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ANDQuery_Add_Child</strong>( + <span class="prefix">lucy_</span>ANDQuery *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a> *<strong>query</strong> +); +</code></pre> +<p>Add a child Query node.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ANDQuery_Dump</strong>( + <span class="prefix">lucy_</span>ANDQuery *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ANDQuery_Load</strong>( + <span class="prefix">lucy_</span>ANDQuery *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> +</dd> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ANDQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>ANDQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>ANDQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>ANDQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::ANDQuery is a <a href="../../Lucy/Search/PolyQuery.html">Lucy::Search::PolyQuery</a> is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div>
Modified: lucy/site/trunk/content/docs/c/Lucy/Search/Collector.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/Collector.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/Collector.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/Collector.mdtext Sat Apr 23 17:00:41 2016 @@ -48,16 +48,6 @@ collector must take the updated informat </dl> <h3>Methods</h3> <dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Coll_Destroy</strong>( - <span class="prefix">lucy_</span>Collector *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> <dt id="func_Collect">Collect <span class="comment">(abstract)</span></dt> <dd> <pre><code>void Modified: lucy/site/trunk/content/docs/c/Lucy/Search/Collector/BitCollector.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/Collector/BitCollector.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/Collector/BitCollector.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/Collector/BitCollector.mdtext Sat Apr 23 17:00:41 2016 @@ -64,16 +64,6 @@ entire set of documents which matches a </dl> <h3>Methods</h3> <dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>BitColl_Destroy</strong>( - <span class="prefix">lucy_</span>BitCollector *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> <dt id="func_Collect">Collect</dt> <dd> <pre><code>void Modified: lucy/site/trunk/content/docs/c/Lucy/Search/Compiler.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/Compiler.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/Compiler.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/Compiler.mdtext Sat Apr 23 17:00:41 2016 @@ -216,15 +216,70 @@ memory address.</p> </code></pre> <p>Generic stringification: âClassName@hex_mem_addressâ.</p> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Make_Compiler">Make_Compiler <span class="comment">(abstract)</span></dt> +<dd> +<pre><code><span class="prefix">lucy_</span>Compiler* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>Compiler_Make_Compiler</strong>( + <span class="prefix">lucy_</span>Compiler *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Searcher.html">Searcher</a> *<strong>searcher</strong>, + float <strong>boost</strong>, + bool <strong>subordinate</strong> +); +</code></pre> +<p>Abstract factory method returning a Compiler derived from this Query.</p> +<dl> +<dt>searcher</dt> +<dd><p>A Searcher.</p> +</dd> +<dt>boost</dt> +<dd><p>A scoring multiplier.</p> +</dd> +<dt>subordinate</dt> +<dd><p>Indicates whether the Query is a subquery (as +opposed to a top-level query). If false, the implementation must +invoke <a href="../../Lucy/Search/Compiler.html#func_Normalize">Normalize()</a> on the newly minted Compiler object before returning +it.</p> +</dd> +</dl> +</dd> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>Compiler_Destroy</strong>( +<span class="prefix">lucy_</span><strong>Compiler_Set_Boost</strong>( + <span class="prefix">lucy_</span>Compiler *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>Compiler_Get_Boost</strong>( <span class="prefix">lucy_</span>Compiler *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>Compiler_Dump</strong>( + <span class="prefix">lucy_</span>Compiler *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>Compiler_Load</strong>( + <span class="prefix">lucy_</span>Compiler *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/Hits.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/Hits.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/Hits.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/Hits.mdtext Sat Apr 23 17:00:41 2016 @@ -51,16 +51,6 @@ produce the Hits object. Note that this matches, not just the number of matches represented by the Hits iterator.</p> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Hits_Destroy</strong>( - <span class="prefix">lucy_</span>Hits *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Search::Hits is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/IndexSearcher.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/IndexSearcher.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/IndexSearcher.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/IndexSearcher.mdtext Sat Apr 23 17:00:41 2016 @@ -67,16 +67,6 @@ modified, a new IndexSearcher must be op </dl> <h3>Methods</h3> <dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>IxSearcher_Destroy</strong>( - <span class="prefix">lucy_</span>IndexSearcher *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> <dt id="func_Doc_Max">Doc_Max</dt> <dd> <pre><code>int32_t @@ -154,6 +144,62 @@ field.</p> <p>Accessor for the objectâs <code>reader</code> member.</p> </dd> </dl> +<h4>Methods inherited from Lucy::Search::Searcher</h4> +<dl> +<dt id="func_Glean_Query">Glean_Query</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>IxSearcher_Glean_Query</strong>( + <span class="prefix">lucy_</span>IndexSearcher *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>query</strong> +); +</code></pre> +<p>If the supplied object is a Query, return it; if itâs a query string, +create a QueryParser and parse it to produce a query against all +indexed fields.</p> +</dd> +<dt id="func_Hits">Hits</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Search/Hits.html">Hits</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>IxSearcher_Hits</strong>( + <span class="prefix">lucy_</span>IndexSearcher *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>query</strong>, + uint32_t <strong>offset</strong>, + uint32_t <strong>num_wanted</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/SortSpec.html">SortSpec</a> *<strong>sort_spec</strong> +); +</code></pre> +<p>Return a Hits object containing the top results.</p> +<dl> +<dt>query</dt> +<dd><p>Either a Query object or a query string.</p> +</dd> +<dt>offset</dt> +<dd><p>The number of most-relevant hits to discard, typically +used when âpagingâ through hits N at a time. Setting +<code>offset</code> to 20 and <code>num_wanted</code> to 10 retrieves +hits 21-30, assuming that 30 hits can be found.</p> +</dd> +<dt>num_wanted</dt> +<dd><p>The number of hits you would like to see after +<code>offset</code> is taken into account.</p> +</dd> +<dt>sort_spec</dt> +<dd><p>A <a href="../../Lucy/Search/SortSpec.html">SortSpec</a>, which will affect +how results are ranked and returned.</p> +</dd> +</dl> +</dd> +<dt id="func_Get_Schema">Get_Schema</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Plan/Schema.html">Schema</a>* +<span class="prefix">lucy_</span><strong>IxSearcher_Get_Schema</strong>( + <span class="prefix">lucy_</span>IndexSearcher *<strong>self</strong> +); +</code></pre> +<p>Accessor for the objectâs <code>schema</code> member.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::IndexSearcher is a <a href="../../Lucy/Search/Searcher.html">Lucy::Search::Searcher</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/LeafQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/LeafQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/LeafQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/LeafQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -147,15 +147,27 @@ memory address.</p> </code></pre> <p>Throws an error.</p> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>LeafQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>LeafQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>LeafQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>LeafQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>LeafQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/MatchAllQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/MatchAllQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/MatchAllQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/MatchAllQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -104,6 +104,45 @@ it.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>MatchAllQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>MatchAllQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>MatchAllQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>MatchAllQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>MatchAllQuery_Dump</strong>( + <span class="prefix">lucy_</span>MatchAllQuery *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>MatchAllQuery_Load</strong>( + <span class="prefix">lucy_</span>MatchAllQuery *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::MatchAllQuery is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/NOTQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/NOTQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/NOTQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/NOTQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -138,6 +138,58 @@ memory address.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::PolyQuery</h4> +<dl> +<dt id="func_Add_Child">Add_Child</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>NOTQuery_Add_Child</strong>( + <span class="prefix">lucy_</span>NOTQuery *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a> *<strong>query</strong> +); +</code></pre> +<p>Add a child Query node.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>NOTQuery_Dump</strong>( + <span class="prefix">lucy_</span>NOTQuery *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>NOTQuery_Load</strong>( + <span class="prefix">lucy_</span>NOTQuery *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> +</dd> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>NOTQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>NOTQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>NOTQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>NOTQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::NOTQuery is a <a href="../../Lucy/Search/PolyQuery.html">Lucy::Search::PolyQuery</a> is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/NoMatchQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/NoMatchQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/NoMatchQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/NoMatchQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -121,6 +121,28 @@ it.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>NoMatchQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>NoMatchQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>NoMatchQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>NoMatchQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::NoMatchQuery is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/ORQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/ORQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/ORQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/ORQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -117,6 +117,58 @@ memory address.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::PolyQuery</h4> +<dl> +<dt id="func_Add_Child">Add_Child</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ORQuery_Add_Child</strong>( + <span class="prefix">lucy_</span>ORQuery *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a> *<strong>query</strong> +); +</code></pre> +<p>Add a child Query node.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ORQuery_Dump</strong>( + <span class="prefix">lucy_</span>ORQuery *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ORQuery_Load</strong>( + <span class="prefix">lucy_</span>ORQuery *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> +</dd> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ORQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>ORQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>ORQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>ORQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::ORQuery is a <a href="../../Lucy/Search/PolyQuery.html">Lucy::Search::PolyQuery</a> is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/PhraseQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/PhraseQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/PhraseQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/PhraseQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -157,15 +157,27 @@ memory address.</p> ); </code></pre> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>PhraseQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>PhraseQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>PhraseQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>PhraseQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>PhraseQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/PolyQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/PolyQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/PolyQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/PolyQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -79,15 +79,53 @@ memory address.</p> </dd> </dl> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Make_Compiler">Make_Compiler <span class="comment">(abstract)</span></dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Search/Compiler.html">Compiler</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>PolyQuery_Make_Compiler</strong>( + <span class="prefix">lucy_</span>PolyQuery *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Searcher.html">Searcher</a> *<strong>searcher</strong>, + float <strong>boost</strong>, + bool <strong>subordinate</strong> +); +</code></pre> +<p>Abstract factory method returning a Compiler derived from this Query.</p> +<dl> +<dt>searcher</dt> +<dd><p>A Searcher.</p> +</dd> +<dt>boost</dt> +<dd><p>A scoring multiplier.</p> +</dd> +<dt>subordinate</dt> +<dd><p>Indicates whether the Query is a subquery (as +opposed to a top-level query). If false, the implementation must +invoke <a href="../../Lucy/Search/Compiler.html#func_Normalize">Normalize()</a> on the newly minted Compiler object before returning +it.</p> +</dd> +</dl> +</dd> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>PolyQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>PolyQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>PolyQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>PolyQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>PolyQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/PolySearcher.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/PolySearcher.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/PolySearcher.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/PolySearcher.mdtext Sat Apr 23 17:00:41 2016 @@ -71,16 +71,6 @@ indexes on a single machine.</p> </dl> <h3>Methods</h3> <dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>PolySearcher_Destroy</strong>( - <span class="prefix">lucy_</span>PolySearcher *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> <dt id="func_Doc_Max">Doc_Max</dt> <dd> <pre><code>int32_t @@ -149,6 +139,62 @@ field.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::Searcher</h4> +<dl> +<dt id="func_Glean_Query">Glean_Query</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>PolySearcher_Glean_Query</strong>( + <span class="prefix">lucy_</span>PolySearcher *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>query</strong> +); +</code></pre> +<p>If the supplied object is a Query, return it; if itâs a query string, +create a QueryParser and parse it to produce a query against all +indexed fields.</p> +</dd> +<dt id="func_Hits">Hits</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Search/Hits.html">Hits</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>PolySearcher_Hits</strong>( + <span class="prefix">lucy_</span>PolySearcher *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>query</strong>, + uint32_t <strong>offset</strong>, + uint32_t <strong>num_wanted</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/SortSpec.html">SortSpec</a> *<strong>sort_spec</strong> +); +</code></pre> +<p>Return a Hits object containing the top results.</p> +<dl> +<dt>query</dt> +<dd><p>Either a Query object or a query string.</p> +</dd> +<dt>offset</dt> +<dd><p>The number of most-relevant hits to discard, typically +used when âpagingâ through hits N at a time. Setting +<code>offset</code> to 20 and <code>num_wanted</code> to 10 retrieves +hits 21-30, assuming that 30 hits can be found.</p> +</dd> +<dt>num_wanted</dt> +<dd><p>The number of hits you would like to see after +<code>offset</code> is taken into account.</p> +</dd> +<dt>sort_spec</dt> +<dd><p>A <a href="../../Lucy/Search/SortSpec.html">SortSpec</a>, which will affect +how results are ranked and returned.</p> +</dd> +</dl> +</dd> +<dt id="func_Get_Schema">Get_Schema</dt> +<dd> +<pre><code><span class="prefix">lucy_</span><a href="../../Lucy/Plan/Schema.html">Schema</a>* +<span class="prefix">lucy_</span><strong>PolySearcher_Get_Schema</strong>( + <span class="prefix">lucy_</span>PolySearcher *<strong>self</strong> +); +</code></pre> +<p>Accessor for the objectâs <code>schema</code> member.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::PolySearcher is a <a href="../../Lucy/Search/Searcher.html">Lucy::Search::Searcher</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/QueryParser.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/QueryParser.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/QueryParser.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/QueryParser.mdtext Sat Apr 23 17:00:41 2016 @@ -351,16 +351,6 @@ modification.</p> </code></pre> <p>Enable/disable parsing of <code>fieldname:foo</code> constructs.</p> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>QParser_Destroy</strong>( - <span class="prefix">lucy_</span>QueryParser *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Search::QueryParser is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/RangeQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/RangeQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/RangeQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/RangeQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -153,15 +153,27 @@ it.</p> ); </code></pre> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>RangeQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>RangeQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>RangeQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>RangeQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>RangeQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/RequiredOptionalQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/RequiredOptionalQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/RequiredOptionalQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/RequiredOptionalQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -162,6 +162,58 @@ memory address.</p> </dl> </dd> </dl> +<h4>Methods inherited from Lucy::Search::PolyQuery</h4> +<dl> +<dt id="func_Add_Child">Add_Child</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ReqOptQuery_Add_Child</strong>( + <span class="prefix">lucy_</span>RequiredOptionalQuery *<strong>self</strong>, + <span class="prefix">lucy_</span><a href="../../Lucy/Search/Query.html">Query</a> *<strong>query</strong> +); +</code></pre> +<p>Add a child Query node.</p> +</dd> +<dt id="func_Dump">Dump</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ReqOptQuery_Dump</strong>( + <span class="prefix">lucy_</span>RequiredOptionalQuery *<strong>self</strong> +); +</code></pre> +</dd> +<dt id="func_Load">Load</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>ReqOptQuery_Load</strong>( + <span class="prefix">lucy_</span>RequiredOptionalQuery *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/Obj.html">Obj</a> *<strong>dump</strong> +); +</code></pre> +</dd> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>ReqOptQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>RequiredOptionalQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>ReqOptQuery_Get_Boost</strong>( + <span class="prefix">lucy_</span>RequiredOptionalQuery *<strong>self</strong> +); +</code></pre> +<p>Get the Queryâs boost.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Search::RequiredOptionalQuery is a <a href="../../Lucy/Search/PolyQuery.html">Lucy::Search::PolyQuery</a> is a <a href="../../Lucy/Search/Query.html">Lucy::Search::Query</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/Searcher.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/Searcher.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/Searcher.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/Searcher.mdtext Sat Apr 23 17:00:41 2016 @@ -50,16 +50,6 @@ Title: Lucy::Search::Searcher â C A </dl> <h3>Methods</h3> <dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Searcher_Destroy</strong>( - <span class="prefix">lucy_</span>Searcher *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> <dt id="func_Doc_Max">Doc_Max <span class="comment">(abstract)</span></dt> <dd> <pre><code>int32_t Modified: lucy/site/trunk/content/docs/c/Lucy/Search/SortRule.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/SortRule.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/SortRule.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/SortRule.mdtext Sat Apr 23 17:00:41 2016 @@ -99,16 +99,6 @@ parameters.</p> </code></pre> <p>Accessor for âreverseâ member.</p> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>SortRule_Destroy</strong>( - <span class="prefix">lucy_</span>SortRule *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Search::SortRule is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/SortSpec.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/SortSpec.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/SortSpec.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/SortSpec.mdtext Sat Apr 23 17:00:41 2016 @@ -65,19 +65,6 @@ sort-by-doc rule as the last SortRule.</ </dl> </dd> </dl> -<h3>Methods</h3> -<dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>SortSpec_Destroy</strong>( - <span class="prefix">lucy_</span>SortSpec *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> -</dl> <h3>Inheritance</h3> <p>Lucy::Search::SortSpec is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Search/TermQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Search/TermQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Search/TermQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Search/TermQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -157,15 +157,27 @@ memory address.</p> </dd> </dl> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>TermQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>TermQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>TermQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>TermQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>TermQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3> Modified: lucy/site/trunk/content/docs/c/Lucy/Simple.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Simple.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Simple.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Simple.mdtext Sat Apr 23 17:00:41 2016 @@ -130,16 +130,6 @@ found.</p> </code></pre> <p>Return the next hit, or NULL when the iterator is exhausted.</p> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Simple_Destroy</strong>( - <span class="prefix">lucy_</span>Simple *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Simple is a <a href="../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/Lucy/Store/Folder.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Store/Folder.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Store/Folder.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Store/Folder.mdtext Sat Apr 23 17:00:41 2016 @@ -33,19 +33,6 @@ a key-value pair from a hash, or somethi <p>The archetypal implementation of Folder, <a href="../../Lucy/Store/FSFolder.html">FSFolder</a>, represents a directory on the file system holding a collection of files.</p> -<h3>Methods</h3> -<dl> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Folder_Destroy</strong>( - <span class="prefix">lucy_</span>Folder *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> -</dl> <h3>Inheritance</h3> <p>Lucy::Store::Folder is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Store/Lock.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Store/Lock.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Store/Lock.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Store/Lock.mdtext Sat Apr 23 17:00:41 2016 @@ -139,16 +139,6 @@ currently locked.</p> name matches, the host id matches, and the process id that the lock was created under no longer identifies an active process.</p> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>Lock_Destroy</strong>( - <span class="prefix">lucy_</span>Lock *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Store::Lock is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/Lucy/Store/LockErr.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Store/LockErr.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Store/LockErr.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Store/LockErr.mdtext Sat Apr 23 17:00:41 2016 @@ -29,6 +29,38 @@ Title: Lucy::Store::LockErr â C API <h3>Description</h3> <p>LockErr is a subclass of <a href="../../Clownfish/Err.html">Err</a> which indicates that a file locking problem occurred.</p> +<h3>Methods</h3> +<h4>Methods inherited from Clownfish::Err</h4> +<dl> +<dt id="func_To_String">To_String</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/String.html">String</a>* <span class="comment">// incremented</span> +<span class="prefix">lucy_</span><strong>LockErr_To_String</strong>( + <span class="prefix">lucy_</span>LockErr *<strong>self</strong> +); +</code></pre> +<p>Return a copy of the error message.</p> +</dd> +<dt id="func_Cat_Mess">Cat_Mess</dt> +<dd> +<pre><code>void +<span class="prefix">lucy_</span><strong>LockErr_Cat_Mess</strong>( + <span class="prefix">lucy_</span>LockErr *<strong>self</strong>, + <span class="prefix">cfish_</span><a href="../../Clownfish/String.html">String</a> *<strong>mess</strong> +); +</code></pre> +<p>Concatenate the supplied argument onto the error message.</p> +</dd> +<dt id="func_Get_Mess">Get_Mess</dt> +<dd> +<pre><code><span class="prefix">cfish_</span><a href="../../Clownfish/String.html">String</a>* +<span class="prefix">lucy_</span><strong>LockErr_Get_Mess</strong>( + <span class="prefix">lucy_</span>LockErr *<strong>self</strong> +); +</code></pre> +<p>Return the error message.</p> +</dd> +</dl> <h3>Inheritance</h3> <p>Lucy::Store::LockErr is a <a href="../../Clownfish/Err.html">Clownfish::Err</a> is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> </div> Modified: lucy/site/trunk/content/docs/c/Lucy/Store/LockFactory.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/Lucy/Store/LockFactory.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/Lucy/Store/LockFactory.mdtext (original) +++ lucy/site/trunk/content/docs/c/Lucy/Store/LockFactory.mdtext Sat Apr 23 17:00:41 2016 @@ -126,16 +126,6 @@ the attempt to <a href="../../Lucy/Store </dd> </dl> </dd> -<dt id="func_Destroy">Destroy</dt> -<dd> -<pre><code>void -<span class="prefix">lucy_</span><strong>LockFact_Destroy</strong>( - <span class="prefix">lucy_</span>LockFactory *<strong>self</strong> -); -</code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> -</dd> </dl> <h3>Inheritance</h3> <p>Lucy::Store::LockFactory is a <a href="../../Clownfish/Obj.html">Clownfish::Obj</a>.</p> Modified: lucy/site/trunk/content/docs/c/LucyX/Search/ProximityQuery.mdtext URL: http://svn.apache.org/viewvc/lucy/site/trunk/content/docs/c/LucyX/Search/ProximityQuery.mdtext?rev=1740659&r1=1740658&r2=1740659&view=diff ============================================================================== --- lucy/site/trunk/content/docs/c/LucyX/Search/ProximityQuery.mdtext (original) +++ lucy/site/trunk/content/docs/c/LucyX/Search/ProximityQuery.mdtext Sat Apr 23 17:00:41 2016 @@ -168,15 +168,27 @@ memory address.</p> ); </code></pre> </dd> -<dt id="func_Destroy">Destroy</dt> +</dl> +<h4>Methods inherited from Lucy::Search::Query</h4> +<dl> +<dt id="func_Set_Boost">Set_Boost</dt> <dd> <pre><code>void -<span class="prefix">lucy_</span><strong>ProximityQuery_Destroy</strong>( +<span class="prefix">lucy_</span><strong>ProximityQuery_Set_Boost</strong>( + <span class="prefix">lucy_</span>ProximityQuery *<strong>self</strong>, + float <strong>boost</strong> +); +</code></pre> +<p>Set the Queryâs boost.</p> +</dd> +<dt id="func_Get_Boost">Get_Boost</dt> +<dd> +<pre><code>float +<span class="prefix">lucy_</span><strong>ProximityQuery_Get_Boost</strong>( <span class="prefix">lucy_</span>ProximityQuery *<strong>self</strong> ); </code></pre> -<p>Generic destructor. Frees the struct itself but not any complex -member elements.</p> +<p>Get the Queryâs boost.</p> </dd> </dl> <h3>Inheritance</h3>
