一、选择angular-ui-router的好处
ui-router是一个社区库用来完善ng-route的诸多不足
UI-Router路由器允许嵌套视图(nested views)和多个命名视图(multiple named views),我们可能有较多的页面需要继承其他部分,所以很有用。通过构建ui-sref来实现不同的状态链接到不同的页面states允许你通过$statsParams来...
分类:
其他好文 时间:
2015-04-22 18:24:11
阅读次数:
144
解决方法(ESXi5.0,虚拟机版本最大支持版本8)登陆到ESXishell上,然后在/etc/vmware/config追加以下内容vhv.allow="TRUE"修改ESXi上的XenServer虚拟机配置,将客户机操作系统类型修改为【其他】-【ESXi5】重新安装XenServer程序解决方法(ESXi5.1)在vSphere网页客户端上选择..
分类:
其他好文 时间:
2015-04-19 11:52:22
阅读次数:
228
(这是一个小系列:请戳:Elasticsearch之Nested(嵌套)系列,查看其他nested相关文章)
In the same way as we need to use the special nested query to gain access to nested objects at search time, the dedicated nested...
分类:
其他好文 时间:
2015-04-16 21:57:38
阅读次数:
155
mapper.xml:delete from where purchase_apply_id = #{purchaseApplyId}org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.r....
分类:
移动开发 时间:
2015-04-16 21:26:53
阅读次数:
244
(这是一个小系列:请戳:Elasticsearch之Nested(嵌套)系列,查看其他nested相关文章)
It is possible to sort by the value of a nested field, even though the value exists in a separate nested document. To make the re...
分类:
其他好文 时间:
2015-04-16 20:01:26
阅读次数:
141
Setting up a nested field is simple—where you would normally specify type object, make it type nested instead:
创建一个nested 字段很简单——只要在你通常指定object类型的地方,改成nested类型就行:
curl -XPUT 'localhost:9200/my_in...
分类:
移动开发 时间:
2015-04-15 14:54:06
阅读次数:
147
Given the fact that creating, deleting, and updating a single document in Elasticsearch is atomic, it makes sense to store closely related entities within the same document.
考虑到在ES里面建立,删除和更新一个单一文本是原子...
分类:
其他好文 时间:
2015-04-14 18:09:20
阅读次数:
810
工作需要,专门花了一下午研究了Elasticsearch里面的nested。最好的材料还是官网上面的Elasticsearch: The Definitive Guide,
所以直接将里面涉及到nested的文章找来看了看,顺便把它们翻译了,贴出来和大家分享。同时综合考虑了一下,把英语大体的
英文原文也一起贴
出来了。希望这样能够适应不同读者的口味。
文章都顺手翻译了,每天贴出来一...
分类:
其他好文 时间:
2015-04-14 18:07:33
阅读次数:
622
在使用getSupportFragmentManager().findFragmentByTag(tag)无法找到,返回为空,原因由于咋replace()时必须要将fragment放入到返回栈中。 保证调用以下方法:
ft.addToBackStack(tag);
/**
* Example of starting nested fragment from...
分类:
其他好文 时间:
2015-04-10 15:34:29
阅读次数:
146
今天在ES上做了一个聚合,先过滤一个嵌套对象,再对另一个域做聚合,但是过滤似乎没有起作用{ "size":0, "filter":{ "nested":{ "path":"nna_risks", "filter":{ ...
分类:
其他好文 时间:
2015-04-04 12:05:13
阅读次数:
293