<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Search Nuggets &#187; relevance tuning</title>
	<atom:link href="http://blog.comperiosearch.com/blog/tag/relevance-tuning/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.comperiosearch.com</link>
	<description>A blog about Search as THE solution</description>
	<lastBuildDate>Mon, 13 Jun 2016 08:59:45 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.9.40</generator>
	<item>
		<title>How to visualize absolute search result quality</title>
		<link>http://blog.comperiosearch.com/blog/2014/05/08/how-to-visualize-absolute-search-result-quality/</link>
		<comments>http://blog.comperiosearch.com/blog/2014/05/08/how-to-visualize-absolute-search-result-quality/#comments</comments>
		<pubDate>Thu, 08 May 2014 16:51:56 +0000</pubDate>
		<dc:creator><![CDATA[Espen Klem]]></dc:creator>
				<category><![CDATA[English]]></category>
		<category><![CDATA[User Experience]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[recipe app]]></category>
		<category><![CDATA[relevance]]></category>
		<category><![CDATA[relevance tuning]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[ux]]></category>
		<category><![CDATA[visualization]]></category>

		<guid isPermaLink="false">http://blog.comperiosearch.com/?p=2278</guid>
		<description><![CDATA[Earlier, I&#8217;ve looked into how I could use the Phi spiral to possibly get a better display of what&#8217;s most relevant in a search result. A former colleague of mine, Johannes Hoff Holmedahl, did a quick test on the theory, and it may actually work. For the recipe app I want to do something slightly [...]]]></description>
				<content:encoded><![CDATA[<p>Earlier, I&#8217;ve looked into how I could <a href="http://blog.comperiosearch.com/blog/2013/07/05/a-better-search-result-a-visual-relevancy-hierarchy-building-on-the-phi-spiral/">use the Phi spiral to possibly get a better display of what&#8217;s most relevant</a> in a search result. A former colleague of mine, Johannes Hoff Holmedahl, <a href="//blog.comperiosearch.com/blog/2013/08/07/redesigning-netflix-using-the-phi-spiral/">did a quick test on the theory</a>, and it may actually work.</p>
<p>For the recipe app I want to do something slightly different, showing the absolute search result quality for each result. In other words: If the best search result in a result set is not very good, make it smaller than if it has higher value, thus showing an absolute value for each result. The dialogue equivalent comparing i.e. two movies would be to define the best of them better than the other, but not the best you&#8217;d seen.</p>
<h2>Absolute search result quality</h2>
<p>aka. Absolute visual relevance hierarchy</p>
<p>How do we then measure absolute quality? In an earlier post I described <a href="http://blog.comperiosearch.com/blog/2014/03/07/recipe-app-relevance-tuning-what-is-it-exactly/">what would be our relevancy hierarchy</a>. The more in-season ingredients in a recipe, the better quality.</p>
<p><a href="https://www.flickr.com/photos/eklem/14158409963/"><img class="alignnone" src="https://farm8.staticflickr.com/7349/14158409963_dc2463f1f7.jpg" alt="Visualization of absolute search result quality" width="500" height="281" /></a></p>
<p>I&#8217;ve defined three quality groups for absolute search result quality so far (number of ingredients: n):</p>
<ol>
<li>n &gt;= 4</li>
<li>1 &lt; n &lt; 4</li>
<li>n = 1</li>
</ol>
<p>Here are three different examples on search results set. First has two results with four or more in-season ingredients and second has only one. Third has none, typically something that would happen during the winter months in Norway:</p>
<p><a href="https://www.flickr.com/photos/eklem/14115310566/sizes/l"><img class="alignnone" src="https://farm8.staticflickr.com/7375/14115310566_375a0d5936.jpg" alt="Visualization of absolute search result quality" width="500" height="237" /></a></p>
<p><a href="http://blog.comperiosearch.com/blog/tag/recipe-app/">The recipe app is work in progress</a>. Check back every now and then for new blog posts on the subject.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.comperiosearch.com/blog/2014/05/08/how-to-visualize-absolute-search-result-quality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fast ESP 5.3 index profile oddities</title>
		<link>http://blog.comperiosearch.com/blog/2010/11/10/fast-esp-5-3-index-profile-oddities/</link>
		<comments>http://blog.comperiosearch.com/blog/2010/11/10/fast-esp-5-3-index-profile-oddities/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 15:27:42 +0000</pubDate>
		<dc:creator><![CDATA[Hans Terje Bakke]]></dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[fast esp]]></category>
		<category><![CDATA[relevance tuning]]></category>

		<guid isPermaLink="false">http://nuggets.comperiosearch.com/?p=85</guid>
		<description><![CDATA[The following mentions a few nuissances in the Fast ESP 5.3 index profile. Composite field context weight sums Weights are not relative to its containing element. I.e. the field-weights within the context part of a composite-rank do not sum up to a 100% which most people find intuitive. If you have two fields weighted 100 [...]]]></description>
				<content:encoded><![CDATA[<p>The following mentions a few nuissances in the Fast ESP 5.3 index profile.</p>
<p><strong>Composite field context weight sums<br />
</strong>Weights are not relative to its containing element. I.e. the field-weights within the context part of a composite-rank do not sum up to a 100% which most people find intuitive. If you have two fields weighted 100 and 100 and get a hit in both fields, then hit in the composite becomes 200, instead of 100 as one could expect from a &#8220;100% hit&#8221;.</p>
<p><strong>The single-field-composite warning<br />
</strong>A search on non-composite fields do not generate dynamic rank. For this you will need to wrap it in a composite field, which is perfectly ok. However, when you bliss (upload) an index profile, ESP will spew out warnings. These can be ignored. (But remember to add the composite field reference to the rank profile, as usual, or it will have no effect.)</p>
<p><strong>The context/occurence oddity<br />
</strong>An often encountered problem is a composite with fields that have values contain the same tokens (words). A search will then get context hits in multiple fields and get rank contributions from each. However, in most cases you would only like to have a rank contribution from the hit in the highest weighted field. I have tried to turn off whatever I could find in config files, but not been able to solve this problem. There are however a few ways around this.</p>
<p>One involves ripping out duplicate words from the lower weighted fields during document processing, but that makes those fields useless for other purposes.</p>
<p>Another solution involves splitting the fields into singular composite fields and rewriting the query to contain a lot of parts searching each field with the same words, and joining them with the ANY operator.</p>
<p>A third solution is join the fields in question in a field-ref-group in the composite field. This will count multiple field hits as a hit the one group and assign a rank contribution according to the field-ref-group&#8217;s weight. But you will no longer be able to assign individual weights to each field.</p>
<p><strong>The default oddity<br />
</strong>One composite field must be tagged with</p><pre class="crayon-plain-tag">default=&quot;yes&quot;</pre><p>If you have no default composite field, ESP can start to act funny, such as swapping int32 and string types in the result(!)</p>
<p><strong>The quality oddity<br />
</strong>This refers to the static boost contribution to the result defined by the &#8220;quality&#8221; element of the rank-profile.</p>
<p>If the quality element is not present, the default weight is 50, and the default quality field is &#8220;hwboost&#8221;. This is a magic field that is hard coded and not defined in the index profile. However, try to specify</p><pre class="crayon-plain-tag">&amp;lt;quality weight=&quot;50&quot; field-ref=&quot;hwboost&quot;/&amp;gt;</pre><p>and you will get an error that the field is not defined. This can seemingly safely be explicitly defined in the index profile as</p><pre class="crayon-plain-tag">&amp;lt;field name=&quot;hwboost&quot; type=&quot;uint32&quot; index=&quot;yes&quot; sort=&quot;yes&quot;/&amp;gt;</pre><p>The default start value of hwboost is 10000, and this can be added to or subtracted from during document processing.</p>
<p>The quality weight is limited to steps of 50 (0, 50, 100, 150, &#8230;). These values are actually transformed to multipliers 0, 1, 2, &#8230; So a weight value of &#8220;50&#8243; does not mean half or 50%. With a default hwboost, a weight of &#8220;50&#8243; transforms to multiplier 1, i.e. 1*10000=10000.</p>
<p>You can specify your own quality field. It must be of type uint32 (not int32!), index and sorting set to &#8220;yes&#8221;.</p>
<p>After changing the values, run</p><pre class="crayon-plain-tag">bliss-core -C index-profile.xml
view-admin -m refresh</pre><p>and then wait a minute or so for the views to refresh.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.comperiosearch.com/blog/2010/11/10/fast-esp-5-3-index-profile-oddities/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
