public class RandomFunction extends Object
FunctionsScoreQuery中使用,该函数可以为文档随机打分,返回随机的排序序列,每次返回结果不同| Modifier and Type | Class and Description |
|---|---|
static class |
RandomFunction.Builder |
| Constructor and Description |
|---|
RandomFunction() |
| Modifier and Type | Method and Description |
|---|---|
static RandomFunction.Builder |
newBuilder() |
public static RandomFunction.Builder newBuilder()
Copyright © 2024. All Rights Reserved.