Skip to content

Commit 7ee8b3d

Browse files
committed
Deployed 7772e2f with MkDocs version: 1.6.1
1 parent b9b0960 commit 7ee8b3d

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

search/search_index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"User Behavior Insights","text":""},{"location":"#welcome-to-user-behavior-insights-ubi","title":"Welcome to User Behavior Insights (UBI)!","text":"<p>UBI is a data standard along with a collection of tools and search engine plugins created to help search engineers gain and utilize an improved understanding of users' actions.</p>"},{"location":"#reference-implementation","title":"Reference Implementation","text":"<p>A full reference implementation using OpenSearch is available at chorus-opensearch-edition.</p>"},{"location":"standard/","title":"User Behavior Insights Standard","text":"<p>The most important part of UBI is its standard that defines how queries and user events are defined.</p> <ul> <li>UBI Standard</li> </ul>"},{"location":"tools/","title":"Tools and Plugins","text":"<p>There are several available tools and plugins supporting UBI.</p>"},{"location":"tools/#ubi-plugin-for-opensearch","title":"UBI Plugin for OpenSearch","text":"<ul> <li>OpenSearch UBI Plugin</li> </ul>"},{"location":"tools/#ubi-plugin-for-elasticsearch","title":"UBI Plugin for Elasticsearch","text":"<ul> <li>OpenSearch UBI Plugin</li> </ul>"}]}
1+
{"config":{"lang":["en"],"separator":"[\\s\\-]+","pipeline":["stopWordFilter"]},"docs":[{"location":"","title":"User Behavior Insights","text":""},{"location":"#welcome-to-user-behavior-insights-ubi","title":"Welcome to User Behavior Insights (UBI)!","text":"<p>UBI is a data standard along with a collection of tools and search engine plugins created to help search engineers gain and utilize an improved understanding of users' actions.</p>"},{"location":"#reference-implementation","title":"Reference Implementation","text":"<p>A full reference implementation using OpenSearch is available at chorus-opensearch-edition.</p>"},{"location":"standard/","title":"User Behavior Insights Standard","text":"<p>The most important part of UBI is its standard that defines how queries and user events are defined.</p> <ul> <li>UBI Standard</li> </ul>"},{"location":"tools/","title":"Tools and Plugins","text":"<p>There are several available tools and plugins supporting UBI.</p>"},{"location":"tools/#ubi-plugin-for-opensearch","title":"UBI Plugin for OpenSearch","text":"<p>The OpenSearch UBI plugin facilitates persisting client-side events (e.g. item clicks, scroll depth) and OpenSearch queries for the purpose of analyzing the data to improve search relevance and user experience. The concepts of UBI and this plugin project was originally proposed in the OpenSearch UBI RFC.</p> <p>To use the plugin, first download the release appropriate for your version of OpenSearch. Next, install the plugin:</p> <pre><code>bin/opensearch-plugin install file:/opensearch-ubi-1.0.0-os2.14.0.zip\n</code></pre> <p>With the plugin installed, you can now capture OpenSearch queries:</p> <pre><code>curl -s http://localhost:9200/ecommerce/_search -H \"Content-Type: application/json\" -d'\n {\n \"ext\": {\n \"ubi\": {\n }\n },\n \"query\": {\n \"match\": {\n \"name\": \"toner\"\n }\n }\n }'\n</code></pre> <p>And you can send client-side events to OpenSearch:</p> <pre><code>curl -s http://localhost:9200/ecommerce/_search -H \"Content-Type: application/json\" -d'\n {\n \"ext\": {\n \"ubi\": {\n }\n },\n \"query\": {\n \"match\": {\n \"name\": \"toner\"\n }\n }\n }'\n</code></pre> <p>To see these events, check the <code>ubi_queries</code> and <code>ubi_events</code> indexes:</p> <pre><code>curl http://localhost:9200/ubi_queries/_search\ncurl http://localhost:9200/ubi_events/_search\n</code></pre>"},{"location":"tools/#ubi-plugin-for-elasticsearch","title":"UBI Plugin for Elasticsearch","text":"<ul> <li>OpenSearch UBI Plugin</li> </ul>"}]}

tools/index.html

Lines changed: 36 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,42 @@
399399
<h1 id="tools-and-plugins">Tools and Plugins</h1>
400400
<p>There are several available tools and plugins supporting UBI.</p>
401401
<h2 id="ubi-plugin-for-opensearch">UBI Plugin for OpenSearch</h2>
402-
<ul>
403-
<li><a href="https://www.github.com/opensearch-project/user-behavior-insights">OpenSearch UBI Plugin</a></li>
404-
</ul>
402+
<p>The <a href="https://www.github.com/opensearch-project/user-behavior-insights">OpenSearch UBI plugin</a> facilitates persisting client-side events (e.g. item clicks, scroll depth) and OpenSearch queries for the purpose of analyzing the data to improve search relevance and user experience. The concepts of UBI and this plugin project was originally proposed in the <a href="https://github.com/opensearch-project/OpenSearch/issues/12084">OpenSearch UBI RFC</a>.</p>
403+
<p>To use the plugin, first <a href="https://github.com/o19s/opensearch-ubi/releases">download</a> the release appropriate for your version of OpenSearch. Next, install the plugin:</p>
404+
<pre><code>bin/opensearch-plugin install file:/opensearch-ubi-1.0.0-os2.14.0.zip
405+
</code></pre>
406+
<p>With the plugin installed, you can now capture OpenSearch queries:</p>
407+
<pre><code>curl -s http://localhost:9200/ecommerce/_search -H &quot;Content-Type: application/json&quot; -d'
408+
{
409+
&quot;ext&quot;: {
410+
&quot;ubi&quot;: {
411+
}
412+
},
413+
&quot;query&quot;: {
414+
&quot;match&quot;: {
415+
&quot;name&quot;: &quot;toner&quot;
416+
}
417+
}
418+
}'
419+
</code></pre>
420+
<p>And you can send client-side events to OpenSearch:</p>
421+
<pre><code>curl -s http://localhost:9200/ecommerce/_search -H &quot;Content-Type: application/json&quot; -d'
422+
{
423+
&quot;ext&quot;: {
424+
&quot;ubi&quot;: {
425+
}
426+
},
427+
&quot;query&quot;: {
428+
&quot;match&quot;: {
429+
&quot;name&quot;: &quot;toner&quot;
430+
}
431+
}
432+
}'
433+
</code></pre>
434+
<p>To see these events, check the <code>ubi_queries</code> and <code>ubi_events</code> indexes:</p>
435+
<pre><code>curl http://localhost:9200/ubi_queries/_search
436+
curl http://localhost:9200/ubi_events/_search
437+
</code></pre>
405438
<h2 id="ubi-plugin-for-elasticsearch">UBI Plugin for Elasticsearch</h2>
406439
<ul>
407440
<li><a href="https://github.com/o19s/user-behavior-insights-elasticsearch">OpenSearch UBI Plugin</a></li>

0 commit comments

Comments
 (0)