Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • "ll" is the lat/long of the center point around which to decay. It has the same format as the "centerll"/"minll"/"maxll" fields of the geospatial query term (TBD link), ie "lat,long" or "(lat,long)".
  • "decay" is the "half life" of the decay (ie the distance from "ll" at which the score is halved). It is in the same format as the "dist" field of the "geo" query term (TBD link), ie in the format "<distance><unit>" where <distance> is an integer or floating point number, and unit is one of "m" (miles), "km" (kilometers), "nm" (nautical miles).
Code Block
languagejavascript
titleExample "score" object
{
	"score":{
		"numAnalyze": 1000,
		"sigWeight": 0.67,
		"relWeight": 0.33,
		"timeProx": {
			"time": "now",
			"duration": "1m"
		}
	}
}