Can anyone explain this situation? Different time, same score? I use the exp function:
"functions": [
{
"exp": {
"evnt_time": {
"origin": "now",
"scale": "900d",
"decay": 0.1
}
}
}
]
There is result:
Thanks!
Can anyone explain this situation? Different time, same score? I use the exp function:
"functions": [
{
"exp": {
"evnt_time": {
"origin": "now",
"scale": "900d",
"decay": 0.1
}
}
}
]
There is result:
Thanks!
You have a very small difference in time (3s) between the timestamps compared to a large scale (900d). Is it possible that the expected difference in score is less than the precision of the floating point representation? What would you expect the scores to be?
I hope that every second will produce a unique score. This sorts the scores, and the time order is correct. How does Scale affect the calculation of scores? I don't know how to adjust scale and decay to get the desired score.Thanks!
Why do they all need a different score? Why do you not just sort them by the timestamp?
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.