summaryrefslogtreecommitdiff
path: root/defaults/solr
diff options
context:
space:
mode:
authorMichael Peter Christen <mc@yacy.net>2013-03-13 14:47:00 +0100
committerMichael Peter Christen <mc@yacy.net>2013-03-13 14:47:00 +0100
commitaddba047e297a8be1be17d368146abd22a0edac0 (patch)
tree261a61606914cab57a6a1337e42ead8649456688 /defaults/solr
parent38f46eb33d3c2758c405ae83f9414e53e1e65d3c (diff)
changes in ranking computation
- an existing ranking servlet for solr was extended. It is now possible to set boost values for fields, boost functions and boost queries. - The ranking can have different instances, but currently only the first one is used - added an abstraction layer for fields which can be used for search and those fields can be edited in the solr ranking configruation - the ranking value from solr within the field score is used to combine remote search requests, which all are created using the same locally defined boost values - reduced the number of fields which are used for search (makes it faster) - replaced some text fields by string fields (makes indexing faster) - removed classes which had no use - made a large number of experiments for a better ranking and created a temporary setting which prefers hits inside titles - adjusted also the RWI-based ranking computation to 'prefer title' - made special cases like for portal search where no post-processing and post-ranking is wanted: this keeps the original ranking order as done by Solr - fixed many bugs with old settings for ranking
Diffstat (limited to 'defaults/solr')
-rwxr-xr-xdefaults/solr/schema.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/defaults/solr/schema.xml b/defaults/solr/schema.xml
index d71683db2..7894a2556 100755
--- a/defaults/solr/schema.xml
+++ b/defaults/solr/schema.xml
@@ -156,11 +156,11 @@
<dynamicField name="*_i" type="int" indexed="true" stored="true"/>
<dynamicField name="*_s" type="string" indexed="true" stored="true" />
- <dynamicField name="*_val" type="int" indexed="true" stored="true" multiValued="true"/> <!-- YaCy special -->
+ <dynamicField name="*_val" type="int" indexed="false" stored="true" multiValued="true"/> <!-- YaCy special -->
<dynamicField name="*_sxt" type="string" indexed="true" stored="true" multiValued="true"/> <!-- YaCy special -->
<dynamicField name="*_l" type="long" indexed="true" stored="true"/>
<dynamicField name="*_ls" type="long" indexed="true" stored="true" multiValued="true"/>
- <dynamicField name="*_t" type="text_general" indexed="true" stored="true"/>
+ <dynamicField name="*_t" type="text_general" indexed="true" stored="true" compressed="true"/>
<dynamicField name="*_txt" type="text_general" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_en" type="text_en" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_b" type="boolean" indexed="true" stored="true"/>