- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 elasticsearch相关(mapping的_source和store的笔记)
1、_source _source字段我在们进行检索时相当重要, ES默认检索只会返回ID,如果在{"enabled":false}情况下,你需通过根据这个ID去去倒排索引中去取每个Field数据,效率不高。 而反之,在{"enabled":true}的情况下可以根据ID直接检索对应source JSON的字段,不用去倒排索引去按Field取数据。 尽管_source非常有用, 但它确实会...
2018-09-18 16:40:31 280
原创 leetcode-Merge Sorted Array
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note: You may assume that A has enough space (size that is greater or equal to m + n) to hold additional elements from
2014-10-27 20:59:45 211
原创 leetcode练习
//Suppose a sorted array is rotated at some pivot unknown to you beforehand.//(i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2).//Find the minimum element.//You may assume no duplicate exists in the ar
2014-10-19 22:08:08 261
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人