Closed (duplicate)
Project:
Apache Solr Search
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2010 at 22:30 UTC
Updated:
8 Dec 2011 at 14:04 UTC
Now that we have an entity field, and comments, files, and nodes going into it, we need to be able to adjust the relative scoring between them. Site owners may want to say, for example, that comments and files should score lower than nodes. This patch inspects the index with a facet query and then enumerates the entities found and lets the administrator add a boost to them in the same manner as all other fields.
| Comment | File | Size | Author |
|---|---|---|---|
| entity_boost.patch | 4.28 KB | robertdouglass |
Comments
Comment #1
wmostrey commentedThis works completely as advertised and expected! While the apachesolr_attachments modules used to display file results on top, this is no longer the case. As far as I'm concerned: RTBC.
Comment #2
johannesdr commentedTested the patch on the latest dev version and it works as expected.
Comment #3
wmostrey commentedPatch still applies to the latest 6.x-2.x release, still RTBC.
Comment #4
jpmckinney commentedWha?
Comment #5
jpmckinney commentedComment #6
jpmckinney commentedMarked #1047682: commentsearch comment document priority in the UI duplicate.
Comment #7
nick_vhDuplicate of #966796: Separate indexer for multiple entity types