| 1 |
|
Views Fast Search Node Type Ranking |
| 2 |
|
----------------------------------- |
| 3 |
|
Author: JacobSingh <jacobsingh@gmail.com> |
| 4 |
|
|
| 5 |
|
Provides node type ranking to vfs. |
| 6 |
|
|
| 7 |
|
It's in a beta phase, but works, so please give feedback on what is needed. |
| 8 |
|
To install: |
| 9 |
|
|
| 10 |
|
Enable the module. |
| 11 |
|
|
| 12 |
|
This will create the table vfs_ranking_nodetype which has two columns, type and search_weight |
| 13 |
|
|
| 14 |
|
Go to admin/settings/vfs_ranking_nodetype |
| 15 |
|
|
| 16 |
|
Here you can set a weighting from 0-10 for each type. Currently, the vfs search results score is simply multiplied by this number. So if you set the weight of stories to 5 and the weight of pages to 2, a story which previously had a score of 5, will now be 25, and a page which previously had a score of 10 will be 20, so now the story will come first. |
| 17 |
|
|
| 18 |
|
Enjoy! |