fix replace with doc id
@@ -221,7 +221,7 @@ public class SuggestHelper {
final List<FunctionScoreQueryBuilder.FilterFunctionBuilder> flist = new ArrayList<>();
flist.add(new FunctionScoreQueryBuilder.FilterFunctionBuilder(ScoreFunctionBuilders.randomFunction()
- .seed(System.currentTimeMillis()).setField(fessConfig.getIndexFieldId())));
+ .seed(System.currentTimeMillis()).setField(fessConfig.getIndexFieldDocId())));
reader.setQuery(QueryBuilders.functionScoreQuery(QueryBuilders.matchAllQuery(),
flist.toArray(new FunctionScoreQueryBuilder.FilterFunctionBuilder[flist.size()])).boostMode(
CombineFunction.MULTIPLY));
