一.概念 概念:自动或手动为index中的_doc建立的一种数据结构和相关配置,简称为mapping映射。 动态映射:dynamic mapping,自动为我们建立index,以及对应的mapping,mapping中包含了每个field对应的数据类型,以及如何分词等设置。 我们当然也可以手动在创建 ...
分类:
移动开发 时间:
2020-06-09 14:54:55
阅读次数:
81
一、 堆(heap)和栈(stack) 栈(stack)会自动分配内存空间,会自动释放。堆(heap)动态分配的内存,大小不定也不会自动释放。 二、 基本类型和引用类型 基本类型:简单的数据段,存放在栈内存中,占据固定大小的空间。 引用类型:指那些可能由多个值构成的对象,保存在堆内存中,包含引用类型 ...
分类:
Web程序 时间:
2020-06-09 11:21:06
阅读次数:
100
一.pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instan ...
分类:
编程语言 时间:
2020-06-08 20:50:00
阅读次数:
68
在eclipse中可以正常启动,但是tomcat部署报错: 严重: Error listenerStart严重: Context [/meeting] startup failed due to previous errors 严重: Exception sending context initia ...
分类:
Web程序 时间:
2020-06-08 14:49:28
阅读次数:
75
一、环境 Idea 2020.1 JDK 1.8 maven 二、目的 spring boot 统一异常处理实现。 gitHub地址:https://github.com/ouyushan/ouyushan-spring-boot-samples 三、步骤 3.1、点击File -> New Pro ...
分类:
编程语言 时间:
2020-06-08 12:41:39
阅读次数:
74
Given two sequences pushed and popped with distinct values, return true if and only if this could have been the result of a sequence of push and pop o ...
分类:
其他好文 时间:
2020-06-08 00:29:09
阅读次数:
53
一.入门 1.检查集群健康状态API GET /_cat/health?v 健康状态说明: green:每个索引的primary shard和replica shard都是active状态的 yellow:每个索引的primary shard都是active状态的,但是部分replica shard ...
分类:
其他好文 时间:
2020-06-07 21:49:42
阅读次数:
85
With Sheets("Report").ChartObjects.Add(...) .Chart.Axes(xlCategory).MinimumScale = RoundTo50(Sheets(sheetName).Range("M4")) .Chart.Axes(xlCategory).Ma ...
分类:
编程语言 时间:
2020-06-07 21:45:16
阅读次数:
115
Headers <algorithm> <vector> <array> <list> <stack> <queue> <set> <map> <unordered_set> <unordered_map> <string> <iterator> <utility> <tuple> <numeric ...
分类:
编程语言 时间:
2020-06-07 21:34:14
阅读次数:
88
概念定义: 深度优先遍历:深度优先遍历是图论中的经典算法。其利用了深度优先搜索算法可以产生目标图的相应拓扑排序表,采用拓扑排序表可以解决很多相关的图论问题,如最大路径问题等等。 根据深度优先遍历的特点我们利用Java集合类的栈Stack先进后出的特点来实现。我用二叉树来进行深度优先搜索。 广度优先遍 ...
分类:
编程语言 时间:
2020-06-07 21:24:16
阅读次数:
77