Manual Weightings
Default: None
Source: Documents from weighted source are promoted to top of query results, use the field "key" found on a source
- Example: "www.google.com.search.56.6.":1.25","www.google.com.search.532.23":0.75
- Example: "www.google.com.search.56.6.":1.25","www.google.com.search.532.23":0.75
Type: Documents matching weighted source type are promoted to toe top of query results, use the field "mediatype" found on a source
- Example: "News":1.1,"Social":4.0
- Example: "News":1.1,"Social":4.0
Tag: Documents matching weighted source tag are promoted to top of query results, use the field "tags" found on a source
- Example: "mysql":2.0,"katrina":1.1
- Example: "mysql":2.0,"katrina":1.1
The weights are applied as follows:
First the source weights are applied.
If no source weight matches the document, then the type weights are applied.
If no type weight matches the document, then a tag weight is generated by averaging all matching entries from the "tagWeights" map.
If no weight matches the document, then its total score is preserved.