Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

ranking and boost function update, small bugfixes, better default search field for solr

Michael Peter Christeneb9d0ba5b148
diff --git a/defaults/solr/solrconfig.xml b/defaults/solr/solrconfig.xml
index 907dbb22f..8e69d4d39 100755
--- a/defaults/solr/solrconfig.xml
+++ b/defaults/solr/solrconfig.xml
@@ -751,7 +751,7 @@
<lst name="defaults">
<str name="echoParams">explicit</str>
<int name="rows">10</int>
- <str name="df">text</str>
+ <str name="df">text_t</str>
</lst>
<!-- In addition to defaults, "appends" params can be specified
to identify values which should be appended to the list of
@@ -813,7 +813,7 @@
<str name="echoParams">explicit</str>
<str name="wt">json</str>
<str name="indent">true</str>
- <str name="df">text</str>
+ <str name="df">text_t</str>
</lst>
</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
title^10.0 description^5.0 keywords^5.0 author^2.0 resourcename^1.0
</str>
- <str name="df">text</str>
+ <str name="df">text_t</str>
<str name="mm">100%</str>
<str name="q.alt">*:*</str>
<str name="rows">10</str>
@@ -1281,7 +1281,7 @@
-->
<requestHandler name="/spell" class="solr.SearchHandler" startup="lazy">
<lst name="defaults">
- <str name="df">text</str>
+ <str name="df">text_t</str>
<!-- Solr will use suggestions from both the 'default' spellchecker
and from the 'wordbreak' spellchecker and combine them.
collations (re-written queries) can include a combination of
@@ -1318,7 +1318,7 @@
-->
<requestHandler name="/tvrh" class="solr.SearchHandler" startup="lazy">
<lst name="defaults">
- <str name="df">text</str>
+ <str name="df">text_t</str>
<bool name="tv">true</bool>
</lst>
<arr name="last-components">
@@ -1473,7 +1473,7 @@
<requestHandler name="/elevate" class="solr.SearchHandler" startup="lazy">
<lst name="defaults">
<str name="echoParams">explicit</str>
- <str name="df">text</str>
+ <str name="df">text_t</str>
</lst>
<arr name="last-components">
<str>elevator</str>
diff --git a/defaults/yacy.init b/defaults/yacy.init
index e71c6b9c2..726a7d9dc 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -964,7 +964,8 @@ search.ranking.rwi.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.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.boostfields.tmpa.1=text_t^1.0
search.ranking.solr.collection.boostquery.tmpa.1=fuzzy_signature_unique_b:true^100000.0
diff --git a/htroot/IndexControlRWIs_p.html b/htroot/IndexControlRWIs_p.html
index 54c340644..4091bbb9c 100644
--- a/htroot/IndexControlRWIs_p.html
+++ b/htroot/IndexControlRWIs_p.html
@@ -166,7 +166,7 @@
<table border="0" cellpadding="2" cellspacing="1">
<tr class="TableHeader">
<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 rowspan="2">props</td>
<td rowspan="2">Reverse Normalized Weighted Ranking Sum</td>