ES 搜索结果expalain 可以类似数据库性能调优来看排序算法的选择
2017-02-27 12:21
447 查看
When we run a simple
The (abbreviated)
见:https://www.elastic.co/guide/en/elasticsearch/guide/current/scoring-theory.html
termquery with
explainset to
true(see Understanding the Score), you will see that the only factors involved in calculating the score are the ones explained in the preceding sections:
PUT /my_index/doc/1 { "text" : "quick brown fox" } GET /my_index/doc/_search?explain { "query": { "term": { "text": "fox" } } }
The (abbreviated)
explanationfrom the preceding request is as follows:
weight(text:fox in 0) [PerFieldSimilarity]: 0.15342641
result of: fieldWeight in 0 0.15342641 product of: tf(freq=1.0), with freq of 1: 1.0
idf(docFreq=1, maxDocs=1): 0.30685282
fieldNorm(doc=0): 0.5
见:https://www.elastic.co/guide/en/elasticsearch/guide/current/scoring-theory.html
相关文章推荐
- OCM_第十三天课程:Section6 —》数据库性能调优 _结果缓存 /多列数据信息采集统计/采集数据信息保持游标有效
- [数据库]漫谈ElasticSearch关于ES性能调优几件必须知道的事(转)
- 再谈数据库性能提升及搜索优化之一 - 服务器的选择及相关配置
- elasticsearch核心知识--30.分页搜索以及deep paging性能问题深度理解和es中聚合aggregation的分组可能结果不准确的原因
- django以字典或元组形式输出数据库结果集,可以选择输出特定列的结果
- ch23.P456.练习二,搜索结果自动出来,并且可以点击选择-----重要,js是难点?????
- 数据库性能调优专题
- 数据库性能调优技术-索引调优
- 数据库性能调优技术-索引调优(转载)
- 数据库性能调优技术系列文章(3)--深入理解嵌套循环执行计划
- 选择可搜索的数据库已经存在用户和双listbox界面模型
- 数据库性能调优技术─嵌套循环执行计划
- 请单击下面的按钮,以重定向到可以选择新数据存储区的页。下面的消息可能会有助于诊断问题: 无法连接到 SQL Server 数据库。
- 下拉查询功能。。。类似搜索。(初学的可以看下)
- Linux 下Mysql 数据库性能调优
- 数据库性能调优技术系列文章
- [导入]下拉查询功能。。。类似搜索。(初学的可以看下)
- 通过缓存数据库结果提高PHP性能
- 搜索结果排序算法的研究(张天/ccl.pku.edu.cn)
- 数据库性能调优技术系列文章(1)---转帖