https://blog.csdn.net/CSDN877425287/article/details/107284768/

https://www.elastic.co/guide/en/elasticsearch/client/java-rest/current/index.html

{
    "code":0,
    "msg":"query data succeed.",
    "data":[
        {
            "scanNum":1127,
            "RT":37.23,
            "precursorMZ":675.27,
            "precursorCharge":2,
            "precursorMass":1348.52,
            "result":"Tyrocidine C",
            "SMILES":"O=C(O)CCC1NC(=O)C(NC(=O)C3NC(=O)C(NC(=O)C(N)C(C)SCC(NC1(=O))C(=O)NCC(=O)NC2C(=O)NC(C(=O)NC(C(=O)NC(C(=O)NC(C(=O)NC(C(=O)O)CS(=O)C2(C))C)CSC3(C))C(C)CC)C(C)C)CC(C)C)C(C)CC",
            "mass":1347.68,
            "p1Score":85.6,
            "p2Score":50.9
        },
        {
            "scanNum":1117,
            "RT":37.96,
            "precursorMZ":675.22,
            "precursorCharge":2,
            "precursorMass":1348.43,
            "result":"Tyrocidine C",
            "SMILES":"O=C(O)CCC1NC(=O)C(NC(=O)C3NC(=O)C(NC(=O)C(N)C(C)SCC(NC1(=O))C(=O)NCC(=O)NC2C(=O)NC(C(=O)NC(C(=O)NC(C(=O)NC(C(=O)NC(C(=O)O)CS(=O)C2(C))C)CSC3(C))C(C)CC)C(C)C)CC(C)C)C(C)CC",
            "mass":1347.68,
            "p1Score":84.6,
            "p2Score":44.3
        }
    ]
}

标签智能推荐:

go语言调用everything的SDK接口

equestPath|es.EverythingRequestDateCreated|es.EverythingRequestDateModified|es.EverythingRequestDateAccessed|es.EverythingRequestSize)iferr!=nil{panic(err)}//定好排序规则err=es.EverythingSetSort(es.Everythi

Elasticsearch7.X 安装(CentOS7)

asticsearch7.x安装包获取链接Elasticsearch下载官网只提供了7.x版本到7.17了,下载7.17就好下载完成后上传到目录/usr/local/es解压到es目录下tar-zxvfelasticsearch-7.17.0-linux-x86_64.tar新建用户es因为elasticsearch不允许root用户启动useraddes然后chown-Res:es/usr/lo

logstash报错如下:Validation Failed: 1: this action would add [2] total shards, but this cluster currently has [999]/[1000] maximum shards open

超过最大分片引起的,在es机器上执行:curl-XPUT-H"Content-Type:application/json"-d'{"persistent":{"cluster":{"max_shards_per_node":10000}}}''http://es-host:9200/_cluster/settings'参见elasticsearch之修改shards数_11944248的技术博客_

InvalidIndexNameException[Invalid index name [XXX], must be lowercase]

项目整合ES创建索引时报错:InvalidIndexNameException[Invalidindexname[wxMessageLogInfo],mustbelowercase]原因:解决:报错中显示mustbelowercase:必须是小写的。所以将保存到ES的索引名改为小写即:"wxmessagelog"效果图:

Error occurred during initialization of VM Could not reserve enough space fo

通过es的elasticsearch.bat启动、发现错误:ErroroccurredduringinitializationofVMCouldnotreserveenoughspacefo说的是es的javajvm大小不对找到config的jvm.options看到-Xms2g-Xmx2g改成-Xms1g-Xmx1g启动成功,浏览器输入http://localhost:9200/能看到数据

elasticsearch 索引和mapping导入导出命令

icdump\--input=http://production.es.com:9200/my_index\--output=http://staging.es.com:9200/my_index\--type=data备份索引数据:elasticdump\--input=http://production.es.com:9200/my_index\--output=/data/my_index_

docker环境运行elasticsearch以及汉化运行kibana

#!/bin/bashdockerrun\--namejm-es\--restart=always\-e"discovery.type=single-node"\-e"cluster.name=jm-es"\-p9200:9200\-p9300:9300\-d\elasticsearch:7.6.1#!/bin/bashdockerrun\--namejm-kbn\--restart=always

Elasticsearch学习笔记——别名

个指针或者名称,可以对应一个或者多个具体的索引。别名的创建,这样就给一个名为es的索引添加了一个别名:alias_testlintong@lintongdeMacBook-Pro~$curl-XPUT'http://master:9200/es/_alias/alias_test'{"acknowledged":true}%添加了别名之后,在查询es索引的时候curl'http://master:

K8S部署ES集群 - 运维笔记

.seed_hosts:["es-0.es-svc.wiseco.svc.cluster.local","es-1.es-svc.wiseco.svc.cluster.local","es-2.es-svc.wiseco.svc.cluster.local"]cluster.initial_master_nodes:["es-0.es-svc.wiseco.svc.cluster.local","

elastic-search随笔

目录ES相关信息:安装启动ES相关信息:_source:导入时传入的原始JSON格式文档内容keyword:字符串类型字段,ES/Lucene不会对文本内容进行分词处理text:字符串类型字段,ES/Lucene会对文本内容进行分词处理,分词器需要用户指定,默认为standard英文分词器安装启动执行如下启动命令启动ESsudosysctl-wvm.max_map_count=262144./bi