首页 \ 问答 \ ElasticSearch字段前缀为“@”(ElasticSearch fields prefixed with “@”)

ElasticSearch字段前缀为“@”(ElasticSearch fields prefixed with “@”)

我在示例映射中看到很多字段,看起来像@timestamp@timestamp等。

这是什么意思? 它是否有任何改变或是一些惯例? 谷歌很棘手,我没有找到任何参考文档。

这是一个例子: https//gist.github.com/deverton/2970285

        ...
        "properties" : {
            "@fields": { "type": "object", "dynamic": true, "path": "full" }, 
            "@message" : { "type" : "string", "index" : "analyzed" },
            "@source" : { "type" : "string", "index" : "not_analyzed" },
            "@source_host" : { "type" : "string", "index" : "not_analyzed" },
            "@source_path" : { "type" : "string", "index" : "not_analyzed" },
            "@tags": { "type": "string", "index" : "not_analyzed" }, 
            "@timestamp" : { "type" : "date", "index" : "not_analyzed" },
            "@type" : { "type" : "string", "index" : "not_analyzed" }
        }
        ...

I see a lot of fields in example mappings that look like @timestamp, @name, etc.

What does it mean? Does it make any change or is it some convention? It is tricky to google and I didn't find any reference reading the doc.

Here's an example: https://gist.github.com/deverton/2970285

        ...
        "properties" : {
            "@fields": { "type": "object", "dynamic": true, "path": "full" }, 
            "@message" : { "type" : "string", "index" : "analyzed" },
            "@source" : { "type" : "string", "index" : "not_analyzed" },
            "@source_host" : { "type" : "string", "index" : "not_analyzed" },
            "@source_path" : { "type" : "string", "index" : "not_analyzed" },
            "@tags": { "type": "string", "index" : "not_analyzed" }, 
            "@timestamp" : { "type" : "date", "index" : "not_analyzed" },
            "@type" : { "type" : "string", "index" : "not_analyzed" }
        }
        ...

原文:https://stackoverflow.com/questions/22089060
更新时间:2022-11-02 21:11

最满意答案

您可以在hg clonehg pushhg pull调用中添加--time ,Mercurial会告诉您操作花了多少时间。


You can add --time to your hg clone, hg push and hg pull calls and Mercurial will tell you how much time the operation took.

相关问答

更多
  • 是的,您可以删除它们。 这是一个安全功能,如果你回复了你不想恢复的东西。 Yes, you can delete them. It's a safety feature in case you reverted something you didn't mean to revert.
  • 您可以在hg clone , hg push和hg pull调用中添加--time ,Mercurial会告诉您操作花了多少时间。 You can add --time to your hg clone, hg push and hg pull calls and Mercurial will tell you how much time the operation took.
  • hg-git和作者的Pycon演示文稿解释了他对情况的看法。不知道如果你在谷歌搜索时遇到这些问题,但他们回答了我的问题。 hg-git and the author's Pycon presentation explaining his take on the situation.not sure if you came across these while googling but they answered my questions.
  • 抱歉.. 愚蠢的错误我错过了hg clone http:/ - - - / {space} repo中源和目的地之间的空格。 我提到了这个链接。它被提到了 C:\ Users \ rose> hg clone http://joel.example.com:8000/食谱 我没能看到那个/和收件人之间的空间。 Sorry.. Silly mistake i missed a space between source and destination in the hg clone http:/- - - / ...
  • 没有听说过......这回答了你的问题吗? :) 你应该查看hg-git邮件列表 。 看起来有一些问题与1.9但它们是固定的,没有2.0问题的报告。 与版本号可能暗示的相反,与1.9相比,Mercurial 2.0没有比平常更多的变化,因此扩展在没有变化的情况下仍然可以正常工作并不出乎意料。 我注意到hg-git主页没有提到Mercurial 2.0; 它可能还没有更新,你可以给Augie Fackler发邮件提醒。 Didn’t hear of any... Does that answer your q ...
  • 首先,正如许多其他人指出的那样,使用命名分支进行短期工作并不是一种推荐的做法。 命名分支主要用于长期生活的功能,或用于发布管理。 鉴于你处在这种情况下,有几个选项可用。 所有这些都涉及修改历史记录(因为您显然正在尝试改变您已完成的任务)。 一个是按照原样推动分支,从经验中学习,然后继续前进。 如果团队的其他成员对此没有问题,那就是向push命令添加“新分支”的情况。 如果团队的其他成员或者你真的希望历史能够保持清洁,那么你需要深入挖掘。 如果你不推动,那么肯定会克隆你当前的回购。 通过这种方式,您可以复制原 ...
  • 最初的问题意味着你的mercurial-server安装进入了混乱的状态。 创建“hg”用户后,安装脚本会在其主目录中放置一个名为“.mercurial-server”的配置文件。 这个文件以某种方式被删除了你的系统 - 也许你手工创建了“hg”用户? 这就是为什么删除并重新安装所有修复的东西,因为它运行安装脚本并创建了这个文件。 第二个问题只是“hg”用户无法读取您创建的“localhost”文件。 777给予所有人写入权限 - 永远不要这样做! 文件644和目录755就足够了。 看起来你将你的“umas ...
  • 远程书签的名称是@ ,而不是@default 。 您需要做的就是在本地删除@default ,然后将@推回到远程存储库。 这将更新远程存储库以与您的@书签一致。 示例(Windows批处理文件): hg init a cd a echo >file1 hg ci -Am1 hg clone . ..\b echo >file2 hg ci -Am2 hg book @ hg log @REM *** At this point "a" has a bookmark on the changeset with ...
  • 原来我的语法错了。 Mercurial使用scp / ssh样式来引用文件,并且当文件路径是绝对的时,它需要双斜杠,就像我的情况一样。 另一种方法是在家中使用符号链接,或者为根fs添加两个斜杠。 代替: hg clone ssh://user@host/repo_dir 使用: hg clone ssh://user@host//repo_dir # ^ It turned out that i had the wrong syntax. Mercurial ...
  • 我建议用system()或exec()来做这个,因为那是标准的操作过程。 I would suggest doing this with system() or exec(), simply because that's the standard operation procedure.

相关文章

更多

最新问答

更多
  • python的访问器方法有哪些
  • 使用Zend Framework 2中的JOIN sql检索数据(Retrieve data using JOIN sql in Zend Framework 2)
  • 透明度错误IE11(Transparency bug IE11)
  • linux的基本操作命令。。。
  • 响应navi重叠h1和nav上的h1链接不起作用(Responsive navi overlaps h1 and navi links on h1 isn't working)
  • 在C中读取文件:“r”和“a +”标志的不同行为(Reading a File in C: different behavior for “r” and “a+” flags)
  • NFC提供什么样的带宽?(What Kind of Bandwidth does NFC Provide?)
  • 元素上的盒子阴影行为(box-shadow behaviour on elements)
  • Laravel检查是否存在记录(Laravel Checking If a Record Exists)
  • 设置base64图像的大小javascript - angularjs(set size of a base64 image javascript - angularjs)
  • 想学Linux 运维 深圳有哪个培训机构好一点
  • 为什么有时不需要在lambda中捕获一个常量变量?(Why is a const variable sometimes not required to be captured in a lambda?)
  • 在Framework 3.5中使用服务器标签<%=%>设置Visible属性(Set Visible property with server tag <%= %> in Framework 3.5)
  • AdoNetAppender中的log4net连接类型无效(log4net connection type invalid in AdoNetAppender)
  • 错误:发送后无法设置标题。(Error: Can't set headers after they are sent. authentication system)
  • 等待EC2实例重启(Wait for an EC2 instance to reboot)
  • 如何在红宝石中使用正则表达式?(How to do this in regex in ruby?)
  • 使用鼠标在OpenGL GLUT中绘制多边形(Draw a polygon in OpenGL GLUT with mouse)
  • 江民杀毒软件的KSysnon.sys模块是什么东西?
  • 处理器在传递到add_xpath()或add_value()时调用了什么顺序?(What order are processors called when passed into add_xpath() or add_value()?)
  • sp_updatestats是否导致SQL Server 2005中无法访问表?(Does sp_updatestats cause tables to be inaccessible in SQL Server 2005?)
  • 如何创建一个可以与持续运行的服务交互的CLI,类似于MySQL的shell?(How to create a CLI that can interact with a continuously running service, similar to MySQL's shell?)
  • AESGCM解密失败的MAC(AESGCM decryption failing with MAC)
  • SQL查询,其中字段不包含$ x(SQL Query Where Field DOES NOT Contain $x)
  • PerSession与PerCall(PerSession vs. PerCall)
  • C#:有两个构造函数的对象:如何限制哪些属性设置在一起?(C#: Object having two constructors: how to limit which properties are set together?)
  • 平衡一个精灵(Balancing a sprite)
  • n2cms Asp.net在“文件”菜单上给出错误(文件管理器)(n2cms Asp.net give error on Files menu (File Manager))
  • Zurb Foundation 4 - 嵌套网格对齐问题(Zurb Foundation 4 - Nested grid alignment issues)
  • 湖北京山哪里有修平板计算机的