如果我没有指定任何“排序”字段,你能告诉我分页是如何工作的吗?在我的查询中,如果我没有指定"sort“字段,然后尝试使用"from”加上"size“进行分页,elasticsearch如何返回数据?有没有可能返回重复的记录?es查询: GET index1, index2/_search?“排序”字段。如果我在每次调用后增加"from“,这会确保返回唯一的结果吗?如果是,如何选择?
我有一个ES映射,其中包含adjustment、organization和country字段。我希望为这些特定字段定义同义词,例如:SA => Special Analysis # for organization如何指定同义词应用于特定字段,以便搜索SA将返回包含adjustment中的Seasonally Adjusted、organization中的Special Analysis或
当我在任何索引字段中输入完整的单词时,搜索效果很好,但是,我尝试做的是,例如,当我输入sam get the products of samsung时,我使用记号赋予器,它在许多s sa sam sams这是products模型,我称之为Item: title: {type: String, es_indexed:true, es_analyzer: 'edge_nGram_analyzer'},