![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
IT
文章平均质量分 95
shangmin1990
这个作者很懒,什么都没留下…
展开
-
android程序退出方案
在Android中退出程序比较麻烦,尤其是在多个Activity的程序中,在2.2之前可以采用如下代码退出程序:Java代码 ActivityManager am = (ActivityManager)getSystemService (Context.ACTIVITY_SERVICE); am.restartPackage(getPackageName());转载 2013-04-01 11:22:43 · 426 阅读 · 0 评论 -
ubuntu13.10 x64 运行adb 报错
"You need library ncurses 32 bit version installed in your systemsudo apt-get install libncurses5:i386In addition to libncurses5, you may require libstdc++6.sudo apt-get install libstd原创 2014-04-11 17:38:02 · 341 阅读 · 0 评论 -
ES学习笔记八-聚合搜索
ES中的聚合搜索可以理解为关系型数据库中的group by,将具有相同条件的数据分组,并分析每一组数据的不同表现。high-level concepts要理解什么是聚合查询(统计) 需要了解下边的两个重要的概念。BucketsCollections of documents that meet a criterion 符合条件的一组数据MetricsStatis原创 2015-02-28 15:31:10 · 1809 阅读 · 0 评论 -
ES学习笔记九-地理位置(geolocation)
geolocationElasticsearch offers two ways of representing geolocations: latitude-longitude points using the geo_point field type, and complex shapes defined in GeoJSON, using the geo_shape原创 2015-02-28 16:10:08 · 1145 阅读 · 0 评论 -
ES学习笔记十-数据建模
handling relationshipstransactions involving multiple documents are not. There is no way to roll back the index to its previous state if part of a transaction fails.application-side joins简原创 2015-02-28 18:09:14 · 632 阅读 · 0 评论