<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Stream on INFINI Pizza</title><link>https://pizza.rs/tags/stream/</link><description>Recent content in Stream on INFINI Pizza</description><generator>Hugo</generator><language>en</language><atom:link href="https://pizza.rs/tags/stream/index.xml" rel="self" type="application/rss+xml"/><item><title>Streaming search</title><link>https://pizza.rs/docs/references/search/request/streaming/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://pizza.rs/docs/references/search/request/streaming/</guid><description>&lt;h1 id="streaming">
 Streaming
 &lt;a class="anchor" href="#streaming">#&lt;/a>
&lt;/h1>
&lt;p>Search on Pizza is real-time — documents are visible the moment they are
written. The &lt;code>stream&lt;/code> block attaches delivery directives to a search
request: how the engine should pace and batch the emission of a result
that outgrows one response, instead of making the client poll.&lt;/p>
&lt;div class="highlight">&lt;pre tabindex="0" class="chroma">&lt;code class="language-sh" data-lang="sh">&lt;span class="line">&lt;span class="cl">POST /my-collection/_search
&lt;/span>&lt;/span>&lt;/code>&lt;/pre>&lt;/div>&lt;h2 id="how-it-works">
 How it works
 &lt;a class="anchor" href="#how-it-works">#&lt;/a>
&lt;/h2>
&lt;p>&lt;code>stream&lt;/code> is a native, parsed block of the Pizza request DSL
(&lt;code>StreamConfig&lt;/code> in &lt;code>lib/engine/src/search/request/mod.rs&lt;/code>) — accepted,
validated, and carried through the engine with every request. Its knobs
describe the emission strategy of the search pipeline:&lt;/p></description></item></channel></rss>