ES中的document是不可变的。如果想要修改一个已经存在的document只有替换他,如下:PUT
/website/blog/123{ "title":"My first blog entry", "text": "I am starting to get
the hang of this.....
分类:
其他好文 时间:
2014-05-16 01:07:04
阅读次数:
318
sublime text 2代码编辑器xmind思维导图sourceinsight代码阅读器
分类:
其他好文 时间:
2014-05-16 01:00:24
阅读次数:
251
第一天:5月11日:今天:通过对于拖拉图片:Gallery、文本切换:TextSwitcher以及图片切换:ImageSwitcher视频的学习,掌握了其中的具体做法。困难:对于文本切换中的横竖屏切换不能理解彻底。有些地方总是会出现问题。
分类:
其他好文 时间:
2014-05-16 00:56:20
阅读次数:
233
iOS6 and Later改变UITextField 中占位符
提示文本的文字颜色在新版本中(iOS6以后)iOS提供一种 Key = value 属性的方式,来改变UI的属性内容。以UITextField为例
@property(nonatomic,copy) NSAttributedStri....
分类:
其他好文 时间:
2014-05-15 22:43:48
阅读次数:
436
if
(GetUploadFileContent.PostedFile.InputStream.Length < 1) { Msg.Text =
"请选择文件"; return; } string FileNam...
分类:
Web程序 时间:
2014-05-15 22:15:08
阅读次数:
348
jquery对select下拉框的操作总结。。。1、通过索引值去设置select中的option的value和textvarindex=1;varval="该改为的值";$("#selectIdoption:eq("+index+")").attr("selected",true);$("#selectIdoption:selected").val(val);$("#selectIdoption:selected").text(val);
分类:
Web程序 时间:
2014-05-15 19:00:51
阅读次数:
314
/// /// 信息写入记事本 /// /// /// public static void
Write(string text, string path) { try { DateTime newDat...
分类:
其他好文 时间:
2014-05-15 17:51:53
阅读次数:
262
1 using System; 2 using System.Collections.Generic;
3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6
using System.Security....
分类:
其他好文 时间:
2014-05-15 17:20:45
阅读次数:
329
工作中,用WinForm写了一段程序,刚开始运行正常,后来替换为公司框架的时候,发现原来用Label拼的表格控件,里面的Text无法显示,后来发现,父控件的ForColor为Control导致,子空间的ForColor也是而无法显示。
如果你仅仅是要检查一个document是否存在,而对document的内容不感兴趣,你可以使用HEAD进行查询curl -i -XHEAD
/website/blog/123如果document存在将会返回如下数据:HTTP/1.1200 OKContent-Type: text/plain;
ch...
分类:
其他好文 时间:
2014-05-15 17:07:40
阅读次数:
293