Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
list more fields available for search and for ranking boosts
orbiter705b3338ee60
diff --git a/htroot/RankingSolr_p.html b/htroot/RankingSolr_p.htmlindex 255f73049..d9ba6b309 100644--- a/htroot/RankingSolr_p.html+++ b/htroot/RankingSolr_p.html@@ -71,7 +71,7 @@</dt><dd style="width:360px;margin:0;padding:0;height:1.8em;float:left;display:inline;" id="boost_dd_#[field]#"><input #(notinindexwarning)#::class="TableCellActive"#(/notinindexwarning)# name="boost_#[field]#" id="boost_#[field]#" type="text" align="right" size="10" value="#[boost]#" />- #(notinindexwarning)#::field not in local index (boost has no effect)#(/notinindexwarning)#+ #(notinindexwarning)#::field not in local index (boost has no effect)#(/notinindexwarning)# #[comment]#</dd>#{/boosts}#<dt style="width:260px;margin:0;padding:0;height:1.8em;"></dt><dd style="width:360px;margin:0;padding:0;height:1.8em;float:left;display:inline;">diff --git a/htroot/RankingSolr_p.java b/htroot/RankingSolr_p.javaindex 4eeb8db0c..8bdb3b723 100644--- a/htroot/RankingSolr_p.java+++ b/htroot/RankingSolr_p.java@@ -120,6 +120,7 @@ public class RankingSolr_p {prop.put("boosts_" + i + "_boost", boost.toString());prop.put("boosts_" + i + "_notinindexwarning", (sb.index.fulltext().getDefaultConfiguration().contains(field.name())? "0" : "1") );}+ prop.putHTML("boosts_" + i + "_comment", field.getComment());i++;}prop.put("boosts", i);diff --git a/source/net/yacy/search/schema/CollectionSchema.java b/source/net/yacy/search/schema/CollectionSchema.javaindex f3c7a968e..3b177201b 100644--- a/source/net/yacy/search/schema/CollectionSchema.java+++ b/source/net/yacy/search/schema/CollectionSchema.java@@ -45,7 +45,7 @@ public enum CollectionSchema implements SchemaDeclaration {exact_signature_unique_b(SolrType.bool, true, true, false, false, false, "flag shows if exact_signature_l is unique at the time of document creation, used for double-check during search"),exact_signature_copycount_i(SolrType.num_integer, true, true, false, false, false, "counter for the number of documents which are not unique (== count of not-unique-flagged documents + 1)"),fuzzy_signature_l(SolrType.num_long, true, true, false, false, false, "64 bit of the Lookup3Signature from EnhancedTextProfileSignature of text_t"),- fuzzy_signature_text_t(SolrType.text_general, true, true, false, false, false, "intermediate data produced in EnhancedTextProfileSignature: a list of word frequencies"),+ fuzzy_signature_text_t(SolrType.text_general, true, true, false, false, true, "intermediate data produced in EnhancedTextProfileSignature: a list of word frequencies"),fuzzy_signature_unique_b(SolrType.bool, true, true, false, false, false, "flag shows if fuzzy_signature_l is unique at the time of document creation, used for double-check during search"),fuzzy_signature_copycount_i(SolrType.num_integer, true, true, false, false, false, "counter for the number of documents which are not unique (== count of not-unique-flagged documents + 1)"),size_i(SolrType.num_integer, true, true, false, false, false, "the size of the raw source"),// int size();@@ -156,8 +156,8 @@ public enum CollectionSchema implements SchemaDeclaration {publisher_url_s(SolrType.string, true, true, false, false, false, "publisher url as defined in http://support.google.com/plus/answer/1713826?hl=de"),url_protocol_s(SolrType.string, true, true, false, false, false, "the protocol of the url"),- url_file_name_s(SolrType.string, true, true, false, false, false, "the file name (which is the string after the last '/' and before the query part from '?' on) without the file extension"),- url_file_ext_s(SolrType.string, true, true, false, false, false, "the file name extension"),+ url_file_name_s(SolrType.string, true, true, false, false, true, "the file name (which is the string after the last '/' and before the query part from '?' on) without the file extension"),+ url_file_ext_s(SolrType.string, true, true, false, false, true, "the file name extension"),url_paths_sxt(SolrType.string, true, true, true, false, true, "all path elements in the url hpath (see: http://www.ietf.org/rfc/rfc1738.txt) without the file name"),url_parameter_i(SolrType.num_integer, true, true, false, false, false, "number of key-value pairs in search part of the url"),url_parameter_key_sxt(SolrType.string, true, true, true, false, false, "the keys from key-value pairs in the search part of the url"),