<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #1276: Apply weighting to search fields in solr</title>
    <link>http://localhost/ticket/1276</link>
    <description>&lt;p&gt;
For example:
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;name and title should have a higher weight than the notes field
&lt;/li&gt;&lt;/ul&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/1276</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>johnglover</dc:creator>

      <pubDate>Thu, 01 Sep 2011 14:06:50 GMT</pubDate>
      <title>milestone changed</title>
      <link>http://localhost/ticket/1276#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/1276#comment:1</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;milestone&lt;/strong&gt;
                changed from &lt;em&gt;ckan-current-sprint&lt;/em&gt; to &lt;em&gt;ckan-sprint-2011-09-12&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Added to branch feature-1275-solr-search
&lt;/p&gt;
&lt;p&gt;
Don't seem to be able to apply weighting to fields at index time using solrpy (see open issue: &lt;a class="ext-link" href="http://code.google.com/p/solrpy/issues/detail?id=6"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://code.google.com/p/solrpy/issues/detail?id=6&lt;/a&gt;). So, switched to using the newer Solr edismax query parser and have applied weights to fields at search time.
&lt;/p&gt;
&lt;p&gt;
Current weights are as follows:
&lt;/p&gt;
&lt;p&gt;
name: 4
title: 4
group: 2
tag: 2
text (everything else): 1
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>rgrp</dc:creator>

      <pubDate>Tue, 13 Sep 2011 21:13:14 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost/ticket/1276#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/1276#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Closing since done (though not yet in main!)
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>