blob: 307440966bd4f00c79eae749fde53f85eabde8ae [file] [log] [blame]
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="Represents an iterable set of sorted doc ids."><meta name="keywords" content="rust, rustlang, rust-lang, DocSet"><title>DocSet in tantivy - Rust</title><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Regular.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../FiraSans-Medium.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Regular.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceSerif4-Bold.ttf.woff2"><link rel="preload" as="font" type="font/woff2" crossorigin href="../SourceCodePro-Semibold.ttf.woff2"><link rel="stylesheet" href="../normalize.css"><link rel="stylesheet" href="../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" href="../ayu.css" disabled><link rel="stylesheet" href="../dark.css" disabled><link rel="stylesheet" href="../light.css" id="themeStyle"><script id="default-settings" ></script><script src="../storage.js"></script><script defer src="sidebar-items.js"></script><script defer src="../main.js"></script><noscript><link rel="stylesheet" href="../noscript.css"></noscript><link rel="alternate icon" type="image/png" href="../favicon-16x16.png"><link rel="alternate icon" type="image/png" href="../favicon-32x32.png"><link rel="icon" type="image/svg+xml" href="../favicon.svg"></head><body class="rustdoc trait"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle">&#9776;</button><a class="sidebar-logo" href="../tantivy/index.html"><div class="logo-container"><img src="http://fulmicoton.com/tantivy-logo/tantivy-logo.png" alt="logo"></div></a><h2></h2></nav><nav class="sidebar"><a class="sidebar-logo" href="../tantivy/index.html"><div class="logo-container">
<img src="http://fulmicoton.com/tantivy-logo/tantivy-logo.png" alt="logo"></div></a><h2 class="location"><a href="#">DocSet</a></h2><div class="sidebar-elems"><section><h3><a href="#required-methods">Required Methods</a></h3><ul class="block"><li><a href="#tymethod.advance">advance</a></li><li><a href="#tymethod.doc">doc</a></li><li><a href="#tymethod.size_hint">size_hint</a></li></ul><h3><a href="#provided-methods">Provided Methods</a></h3><ul class="block"><li><a href="#method.count">count</a></li><li><a href="#method.count_including_deleted">count_including_deleted</a></li><li><a href="#method.fill_buffer">fill_buffer</a></li><li><a href="#method.seek">seek</a></li></ul><h3><a href="#foreign-impls">Implementations on Foreign Types</a></h3><ul class="block"><li><a href="#impl-DocSet-for-Box%3CTDocSet%3E">Box&lt;TDocSet&gt;</a></li></ul><h3><a href="#trait-implementations">Trait Implementations</a></h3><ul class="block"><li><a href="#impl-DocSet-for-%26%27a%20mut%20dyn%20DocSet">DocSet</a></li></ul><h3><a href="#implementors">Implementors</a></h3></section><h2><a href="index.html">In tantivy</a></h2></div></nav><main><div class="width-limiter"><nav class="sub"><form class="search-form"><div class="search-container"><span></span><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press ‘S’ to search, ‘?’ for more options…" type="search"><div id="help-button" title="help" tabindex="-1"><a href="../help.html">?</a></div><div id="settings-menu" tabindex="-1"><a href="../settings.html" title="settings"><img width="22" height="22" alt="Change settings" src="../wheel.svg"></a></div></div></form></nav><section id="main-content" class="content"><div class="main-heading"><h1 class="fqn">Trait <a href="index.html">tantivy</a>::<wbr><a class="trait" href="#">DocSet</a><button id="copy-path" onclick="copy_path(this)" title="Copy item path to clipboard"><img src="../clipboard.svg" width="19" height="18" alt="Copy item path"></button></h1><span class="out-of-band"><a class="srclink" href="../src/tantivy/docset.rs.html#13-113">source</a> · <a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class="inner">&#x2212;</span>]</a></span></div><div class="item-decl"><pre class="rust trait"><code>pub trait DocSet: Send {
fn <a href="#tymethod.advance" class="fnname">advance</a>(&amp;mut self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.doc" class="fnname">doc</a>(&amp;self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>;
<span class="item-spacer"></span> fn <a href="#tymethod.size_hint" class="fnname">size_hint</a>(&amp;self) -&gt; u32;
fn <a href="#method.seek" class="fnname">seek</a>(&amp;mut self, target: <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a> { ... }
<span class="item-spacer"></span> fn <a href="#method.fill_buffer" class="fnname">fill_buffer</a>(&amp;mut self, buffer: &amp;mut [<a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>]) -&gt; usize { ... }
<span class="item-spacer"></span> fn <a href="#method.count" class="fnname">count</a>(&amp;mut self, alive_bitset: &amp;<a class="struct" href="fastfield/struct.AliveBitSet.html" title="struct tantivy::fastfield::AliveBitSet">AliveBitSet</a>) -&gt; u32 { ... }
<span class="item-spacer"></span> fn <a href="#method.count_including_deleted" class="fnname">count_including_deleted</a>(&amp;mut self) -&gt; u32 { ... }
}</code></pre></div><details class="rustdoc-toggle top-doc" open><summary class="hideme"><span>Expand description</span></summary><div class="docblock"><p>Represents an iterable set of sorted doc ids.</p>
</div></details><h2 id="required-methods" class="small-section-header">Required Methods<a href="#required-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.advance" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#27">source</a><h4 class="code-header">fn <a href="#tymethod.advance" class="fnname">advance</a>(&amp;mut self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section></summary><div class="docblock"><p>Goes to the next element.</p>
<p>The DocId of the next element is returned.
In other words we should always have :</p>
<div class="example-wrap ignore"><div class='tooltip'></div><pre class="rust rust-example-rendered"><code><span class="kw">let </span>doc = docset.advance();
<span class="macro">assert_eq!</span>(doc, docset.doc());</code></pre></div>
<p>If we reached the end of the <code>DocSet</code>, <a href="constant.TERMINATED.html" title="TERMINATED"><code>TERMINATED</code></a> should be returned.</p>
<p>Calling <code>.advance()</code> on a terminated <code>DocSet</code> should be supported, and <a href="constant.TERMINATED.html" title="TERMINATED"><code>TERMINATED</code></a> should
be returned.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.doc" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#79">source</a><h4 class="code-header">fn <a href="#tymethod.doc" class="fnname">doc</a>(&amp;self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section></summary><div class="docblock"><p>Returns the current document
Right after creating a new <code>DocSet</code>, the docset points to the first document.</p>
<p>If the <code>DocSet</code> is empty, <code>.doc()</code> should return <a href="constant.TERMINATED.html" title="TERMINATED"><code>TERMINATED</code></a>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="tymethod.size_hint" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#83">source</a><h4 class="code-header">fn <a href="#tymethod.size_hint" class="fnname">size_hint</a>(&amp;self) -&gt; u32</h4></section></summary><div class="docblock"><p>Returns a best-effort hint of the
length of the docset.</p>
</div></details></div><h2 id="provided-methods" class="small-section-header">Provided Methods<a href="#provided-methods" class="anchor"></a></h2><div class="methods"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.seek" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#38-45">source</a><h4 class="code-header">fn <a href="#method.seek" class="fnname">seek</a>(&amp;mut self, target: <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section></summary><div class="docblock"><p>Advances the <code>DocSet</code> forward until reaching the target, or going to the
lowest <a href="type.DocId.html" title="DocId"><code>DocId</code></a> greater than the target.</p>
<p>If the end of the <code>DocSet</code> is reached, <a href="constant.TERMINATED.html" title="TERMINATED"><code>TERMINATED</code></a> is returned.</p>
<p>Calling <code>.seek(target)</code> on a terminated <code>DocSet</code> is legal. Implementation
of <code>DocSet</code> should support it.</p>
<p>Calling <code>seek(TERMINATED)</code> is also legal and is the normal way to consume a <code>DocSet</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fill_buffer" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#62-73">source</a><h4 class="code-header">fn <a href="#method.fill_buffer" class="fnname">fill_buffer</a>(&amp;mut self, buffer: &amp;mut [<a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>]) -&gt; usize</h4></section></summary><div class="docblock"><p>Fills a given mutable buffer with the next doc ids from the
<code>DocSet</code></p>
<p>If that many <code>DocId</code>s are available, the method should
fill the entire buffer and return the length of the buffer.</p>
<p>If we reach the end of the <code>DocSet</code> before filling
it entirely, then the buffer is filled up to this point, and
return value is the number of elements that were filled.</p>
<h5 id="warning"><a href="#warning">Warning</a></h5>
<p>This method is only here for specific high-performance
use case where batching. The normal way to
go through the <code>DocId</code>’s is to call <code>.advance()</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.count" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#87-97">source</a><h4 class="code-header">fn <a href="#method.count" class="fnname">count</a>(&amp;mut self, alive_bitset: &amp;<a class="struct" href="fastfield/struct.AliveBitSet.html" title="struct tantivy::fastfield::AliveBitSet">AliveBitSet</a>) -&gt; u32</h4></section></summary><div class="docblock"><p>Returns the number documents matching.
Calling this method consumes the <code>DocSet</code>.</p>
</div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.count_including_deleted" class="method has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#104-112">source</a><h4 class="code-header">fn <a href="#method.count_including_deleted" class="fnname">count_including_deleted</a>(&amp;mut self) -&gt; u32</h4></section></summary><div class="docblock"><p>Returns the count of documents, deleted or not.
Calling this method consumes the <code>DocSet</code>.</p>
<p>Of course, the result is an upper bound of the result
given by <code>count()</code>.</p>
</div></details></div><h2 id="trait-implementations" class="small-section-header">Trait Implementations<a href="#trait-implementations" class="anchor"></a></h2><div id="trait-implementations-list"><details class="rustdoc-toggle implementors-toggle" open><summary><section id="impl-DocSet-for-%26%27a%20mut%20dyn%20DocSet" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#115-139">source</a><a href="#impl-DocSet-for-%26%27a%20mut%20dyn%20DocSet" class="anchor"></a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for &amp;'a mut dyn <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a></h3></section></summary><div class="impl-items"><details class="rustdoc-toggle method-toggle" open><summary><section id="method.advance" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#116-118">source</a><a href="#method.advance" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#tymethod.advance" class="fnname">advance</a>(&amp;mut self) -&gt; u32</h4></section></summary><div class='docblock'>Goes to the next element. <a href="trait.DocSet.html#tymethod.advance">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.seek-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#120-122">source</a><a href="#method.seek-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#method.seek" class="fnname">seek</a>(&amp;mut self, target: <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section></summary><div class='docblock'>Advances the <code>DocSet</code> forward until reaching the target, or going to the
lowest <a href="type.DocId.html" title="DocId"><code>DocId</code></a> greater than the target. <a href="trait.DocSet.html#method.seek">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.doc" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#124-126">source</a><a href="#method.doc" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#tymethod.doc" class="fnname">doc</a>(&amp;self) -&gt; u32</h4></section></summary><div class='docblock'>Returns the current document
Right after creating a new <code>DocSet</code>, the docset points to the first document. <a href="trait.DocSet.html#tymethod.doc">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.size_hint" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#128-130">source</a><a href="#method.size_hint" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#tymethod.size_hint" class="fnname">size_hint</a>(&amp;self) -&gt; u32</h4></section></summary><div class='docblock'>Returns a best-effort hint of the
length of the docset. <a href="trait.DocSet.html#tymethod.size_hint">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.count-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#132-134">source</a><a href="#method.count-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#method.count" class="fnname">count</a>(&amp;mut self, alive_bitset: &amp;<a class="struct" href="fastfield/struct.AliveBitSet.html" title="struct tantivy::fastfield::AliveBitSet">AliveBitSet</a>) -&gt; u32</h4></section></summary><div class='docblock'>Returns the number documents matching.
Calling this method consumes the <code>DocSet</code>. <a href="trait.DocSet.html#method.count">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.count_including_deleted-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#136-138">source</a><a href="#method.count_including_deleted-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#method.count_including_deleted" class="fnname">count_including_deleted</a>(&amp;mut self) -&gt; u32</h4></section></summary><div class='docblock'>Returns the count of documents, deleted or not.
Calling this method consumes the <code>DocSet</code>. <a href="trait.DocSet.html#method.count_including_deleted">Read more</a></div></details><details class="rustdoc-toggle method-toggle" open><summary><section id="method.fill_buffer-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#62-73">source</a><a href="#method.fill_buffer-1" class="anchor"></a><h4 class="code-header">fn <a href="trait.DocSet.html#method.fill_buffer" class="fnname">fill_buffer</a>(&amp;mut self, buffer: &amp;mut [<a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>]) -&gt; usize</h4></section></summary><div class='docblock'>Fills a given mutable buffer with the next doc ids from the
<code>DocSet</code> <a href="trait.DocSet.html#method.fill_buffer">Read more</a></div></details></div></details></div><h2 id="foreign-impls" class="small-section-header">Implementations on Foreign Types<a href="#foreign-impls" class="anchor"></a></h2><details class="rustdoc-toggle implementors-toggle"><summary><section id="impl-DocSet-for-Box%3CTDocSet%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#141-171">source</a><a href="#impl-DocSet-for-Box%3CTDocSet%3E" class="anchor"></a><h3 class="code-header">impl&lt;TDocSet:&nbsp;<a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> + ?Sized&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for Box&lt;TDocSet&gt;</h3></section></summary><div class="impl-items"><section id="method.advance-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#142-145">source</a><a href="#method.advance-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.advance" class="fnname">advance</a>(&amp;mut self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section><section id="method.seek-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#147-150">source</a><a href="#method.seek-2" class="anchor"></a><h4 class="code-header">fn <a href="#method.seek" class="fnname">seek</a>(&amp;mut self, target: <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a>) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section><section id="method.doc-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#152-155">source</a><a href="#method.doc-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.doc" class="fnname">doc</a>(&amp;self) -&gt; <a class="type" href="type.DocId.html" title="type tantivy::DocId">DocId</a></h4></section><section id="method.size_hint-1" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#157-160">source</a><a href="#method.size_hint-1" class="anchor"></a><h4 class="code-header">fn <a href="#tymethod.size_hint" class="fnname">size_hint</a>(&amp;self) -&gt; u32</h4></section><section id="method.count-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#162-165">source</a><a href="#method.count-2" class="anchor"></a><h4 class="code-header">fn <a href="#method.count" class="fnname">count</a>(&amp;mut self, alive_bitset: &amp;<a class="struct" href="fastfield/struct.AliveBitSet.html" title="struct tantivy::fastfield::AliveBitSet">AliveBitSet</a>) -&gt; u32</h4></section><section id="method.count_including_deleted-2" class="method trait-impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#167-170">source</a><a href="#method.count_including_deleted-2" class="anchor"></a><h4 class="code-header">fn <a href="#method.count_including_deleted" class="fnname">count_including_deleted</a>(&amp;mut self) -&gt; u32</h4></section></div></details><h2 id="implementors" class="small-section-header">Implementors<a href="#implementors" class="anchor"></a></h2><div id="implementors-list"><section id="impl-DocSet-for-SegmentPostings" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/postings/segment_postings.rs.html#157-210">source</a><a href="#impl-DocSet-for-SegmentPostings" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="postings/struct.SegmentPostings.html" title="struct tantivy::postings::SegmentPostings">SegmentPostings</a></h3></section><section id="impl-DocSet-for-AllScorer" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/all_query.rs.html#46-63">source</a><a href="#impl-DocSet-for-AllScorer" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.AllScorer.html" title="struct tantivy::query::AllScorer">AllScorer</a></h3></section><section id="impl-DocSet-for-BitSetDocSet" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/bitset/mod.rs.html#47-93">source</a><a href="#impl-DocSet-for-BitSetDocSet" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.BitSetDocSet.html" title="struct tantivy::query::BitSetDocSet">BitSetDocSet</a></h3></section><section id="impl-DocSet-for-EmptyScorer" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/empty_query.rs.html#42-54">source</a><a href="#impl-DocSet-for-EmptyScorer" class="anchor"></a><h3 class="code-header">impl <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.EmptyScorer.html" title="struct tantivy::query::EmptyScorer">EmptyScorer</a></h3></section><section id="impl-DocSet-for-%26%27a%20mut%20dyn%20DocSet-1" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/docset.rs.html#115-139">source</a><a href="#impl-DocSet-for-%26%27a%20mut%20dyn%20DocSet-1" class="anchor"></a><h3 class="code-header">impl&lt;'a&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for &amp;'a mut dyn <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a></h3></section><section id="impl-DocSet-for-Exclude%3CTDocSet%2C%20TDocSetExclude%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/exclude.rs.html#42-80">source</a><a href="#impl-DocSet-for-Exclude%3CTDocSet%2C%20TDocSetExclude%3E" class="anchor"></a><h3 class="code-header">impl&lt;TDocSet, TDocSetExclude&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.Exclude.html" title="struct tantivy::query::Exclude">Exclude</a>&lt;TDocSet, TDocSetExclude&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;TDocSet: <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;TDocSetExclude: <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>,</span></h3></section><section id="impl-DocSet-for-ConstScorer%3CTDocSet%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/const_score_query.rs.html#113-133">source</a><a href="#impl-DocSet-for-ConstScorer%3CTDocSet%3E" class="anchor"></a><h3 class="code-header">impl&lt;TDocSet:&nbsp;<a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.ConstScorer.html" title="struct tantivy::query::ConstScorer">ConstScorer</a>&lt;TDocSet&gt;</h3></section><section id="impl-DocSet-for-Intersection%3CTDocSet%2C%20TOtherDocSet%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/intersection.rs.html#94-146">source</a><a href="#impl-DocSet-for-Intersection%3CTDocSet%2C%20TOtherDocSet%3E" class="anchor"></a><h3 class="code-header">impl&lt;TDocSet:&nbsp;<a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>, TOtherDocSet:&nbsp;<a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.Intersection.html" title="struct tantivy::query::Intersection">Intersection</a>&lt;TDocSet, TOtherDocSet&gt;</h3></section><section id="impl-DocSet-for-RequiredOptionalScorer%3CTReqScorer%2C%20TOptScorer%2C%20TScoreCombiner%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/reqopt_scorer.rs.html#42-66">source</a><a href="#impl-DocSet-for-RequiredOptionalScorer%3CTReqScorer%2C%20TOptScorer%2C%20TScoreCombiner%3E" class="anchor"></a><h3 class="code-header">impl&lt;TReqScorer, TOptScorer, TScoreCombiner&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.RequiredOptionalScorer.html" title="struct tantivy::query::RequiredOptionalScorer">RequiredOptionalScorer</a>&lt;TReqScorer, TOptScorer, TScoreCombiner&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;TReqScorer: <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;TOptScorer: <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;TScoreCombiner: <a class="trait" href="query/trait.ScoreCombiner.html" title="trait tantivy::query::ScoreCombiner">ScoreCombiner</a>,</span></h3></section><section id="impl-DocSet-for-Union%3CTScorer%2C%20TScoreCombiner%3E" class="impl has-srclink"><a class="srclink rightside" href="../src/tantivy/query/union.rs.html#124-231">source</a><a href="#impl-DocSet-for-Union%3CTScorer%2C%20TScoreCombiner%3E" class="anchor"></a><h3 class="code-header">impl&lt;TScorer, TScoreCombiner&gt; <a class="trait" href="trait.DocSet.html" title="trait tantivy::DocSet">DocSet</a> for <a class="struct" href="query/struct.Union.html" title="struct tantivy::query::Union">Union</a>&lt;TScorer, TScoreCombiner&gt;<span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;TScorer: <a class="trait" href="query/trait.Scorer.html" title="trait tantivy::query::Scorer">Scorer</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;TScoreCombiner: <a class="trait" href="query/trait.ScoreCombiner.html" title="trait tantivy::query::ScoreCombiner">ScoreCombiner</a>,</span></h3></section></div><script src="../implementors/tantivy/docset/trait.DocSet.js" data-ignore-extern-crates="alloc" async></script></section></div></main><div id="rustdoc-vars" data-root-path="../" data-current-crate="tantivy" data-themes="ayu,dark,light" data-resource-suffix="" data-rustdoc-version="1.66.0-nightly (5c8bff74b 2022-10-21)" ></div></body></html>