ranking and boost function update, small bugfixes, better default search

field for solr
pull/1/head
Michael Peter Christen 12 years ago
parent 5f92c68f1f
commit eb9d0ba5b1

@ -751,7 +751,7 @@
<lst name="defaults"> <lst name="defaults">
<str name="echoParams">explicit</str> <str name="echoParams">explicit</str>
<int name="rows">10</int> <int name="rows">10</int>
<str name="df">text</str> <str name="df">text_t</str>
</lst> </lst>
<!-- In addition to defaults, "appends" params can be specified <!-- In addition to defaults, "appends" params can be specified
to identify values which should be appended to the list of to identify values which should be appended to the list of
@ -813,7 +813,7 @@
<str name="echoParams">explicit</str> <str name="echoParams">explicit</str>
<str name="wt">json</str> <str name="wt">json</str>
<str name="indent">true</str> <str name="indent">true</str>
<str name="df">text</str> <str name="df">text_t</str>
</lst> </lst>
</requestHandler> </requestHandler>
@ -855,7 +855,7 @@
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4 text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0 title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
</str> </str>
<str name="df">text</str> <str name="df">text_t</str>
<str name="mm">100%</str> <str name="mm">100%</str>
<str name="q.alt">*:*</str> <str name="q.alt">*:*</str>
<str name="rows">10</str> <str name="rows">10</str>
@ -1281,7 +1281,7 @@
--> -->
<requestHandler name="/spell" class="solr.SearchHandler" startup="lazy"> <requestHandler name="/spell" class="solr.SearchHandler" startup="lazy">
<lst name="defaults"> <lst name="defaults">
<str name="df">text</str> <str name="df">text_t</str>
<!-- Solr will use suggestions from both the 'default' spellchecker <!-- Solr will use suggestions from both the 'default' spellchecker
and from the 'wordbreak' spellchecker and combine them. and from the 'wordbreak' spellchecker and combine them.
collations (re-written queries) can include a combination of collations (re-written queries) can include a combination of
@ -1318,7 +1318,7 @@
--> -->
<requestHandler name="/tvrh" class="solr.SearchHandler" startup="lazy"> <requestHandler name="/tvrh" class="solr.SearchHandler" startup="lazy">
<lst name="defaults"> <lst name="defaults">
<str name="df">text</str> <str name="df">text_t</str>
<bool name="tv">true</bool> <bool name="tv">true</bool>
</lst> </lst>
<arr name="last-components"> <arr name="last-components">
@ -1473,7 +1473,7 @@
<requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy"> <requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
<lst name="defaults"> <lst name="defaults">
<str name="echoParams">explicit</str> <str name="echoParams">explicit</str>
<str name="df">text</str> <str name="df">text_t</str>
</lst> </lst>
<arr name="last-components"> <arr name="last-components">
<str>elevator</str> <str>elevator</str>

@ -964,7 +964,8 @@ search.ranking.rwi.profile =
search.ranking.solr.collection.boostname.tmpa.0=Default Profile search.ranking.solr.collection.boostname.tmpa.0=Default Profile
search.ranking.solr.collection.boostfields.tmpa.0=url_paths_sxt^1000.0,synonyms_sxt^1.0,title^10000.0,text_t^2.0,h1_txt^1000.0,h2_txt^100.0,host_organization_s^100000.0 search.ranking.solr.collection.boostfields.tmpa.0=url_paths_sxt^1000.0,synonyms_sxt^1.0,title^10000.0,text_t^2.0,h1_txt^1000.0,h2_txt^100.0,host_organization_s^100000.0
search.ranking.solr.collection.boostquery.tmpa.0=fuzzy_signature_unique_b:true^100000.0 search.ranking.solr.collection.boostquery.tmpa.0=fuzzy_signature_unique_b:true^100000.0
search.ranking.solr.collection.boostfunction.tmpa.0=product(recip(rord(last_modified),1,1000,1000),div(product(log(product(references_external_i,references_exthosts_i)),div(references_internal_i,host_extent_i)),add(clickdepth_i,1))) search.ranking.solr.collection.boostfunction.tmpa.0=scale(references_external_i,1,20)
#search.ranking.solr.collection.boostfunction.tmpa.0=product(recip(rord(last_modified),1,1000,1000),div(product(log(product(references_external_i,references_exthosts_i)),div(references_internal_i,host_extent_i)),add(clickdepth_i,1)))
search.ranking.solr.collection.boostname.tmpa.1=Date Profile: sort by date in descending order for a '/data' usage search.ranking.solr.collection.boostname.tmpa.1=Date Profile: sort by date in descending order for a '/data' usage
search.ranking.solr.collection.boostfields.tmpa.1=text_t^1.0 search.ranking.solr.collection.boostfields.tmpa.1=text_t^1.0
search.ranking.solr.collection.boostquery.tmpa.1=fuzzy_signature_unique_b:true^100000.0 search.ranking.solr.collection.boostquery.tmpa.1=fuzzy_signature_unique_b:true^100000.0

@ -166,7 +166,7 @@
<table border="0" cellpadding="2" cellspacing="1"> <table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader"> <tr class="TableHeader">
<td colspan="3">Resource</td> <td colspan="3">Resource</td>
<td colspan="9">Negative Ranking Factors</td> <td colspan="7">Negative Ranking Factors</td>
<td colspan="8">Positive Ranking Factors</td> <td colspan="8">Positive Ranking Factors</td>
<td rowspan="2">props</td> <td rowspan="2">props</td>
<td rowspan="2">Reverse Normalized Weighted Ranking Sum</td> <td rowspan="2">Reverse Normalized Weighted Ranking Sum</td>

Loading…
Cancel
Save