elastic学习-elastic认证考纲
1. 数据管理定义满足条件的索引 index定义并使用满足条件的索引模板 index template定义并使用满足条件的动态模板 dynamic template为时间序列索引定义一个ILM策略定义创建新的数据流的索引模板-index template+data stream2. 检索数据执行查询query: terms and/or phrases 在一个索引的单个或多个field中;执行查询query...
2023-03-06
nodeJS贪吃蛇
如果想在xshell上玩需要把空格和方块改下 (在windows的控制台用的话一个方块是两个字符,在xshell上不知道为啥是一个字符,还需要修改下xshell上文本显示的样式显示才会正常)
2019-02-14
数据结构 | 顺序栈的表示与实现
stackSize:当前栈可使用的最大容量(以elemtype个数为单位)base:栈底指针,当base=NULL时表示栈结构不存在top:栈顶指针,初始化时base=top,表明为空栈又因为入栈时top+1,出栈时top-1,因此top始终指向栈顶元素的下一个位置,而base指向栈底元素
2020-03-11
leetcode讲解--701. Insert into a Binary Search Tree
Given the root node of a binary search tree (BST) and a value to be inserted into the tree, insert the value into the BST. Return the root node of the BST after the insertion. It is guaranteed that the new value does not exist in the original BST.
2018-12-17
leetcode讲解--700. Search in a Binary Search Tree
Given the root node of a binary search tree (BST) and a value. You need to find the node in the BST that the node's value equals the given value. Return the subtree rooted with that node. If such node doesn't exist, you should return NULL.
2018-12-26
Elasticsearch 查询权重(qbit)
前言本文对 Elasticsearch 7.17 适用提升字段的权重multi_match默认 type 为 best_fields {代码...} most_fields {代码...} query_string {代码...} simple_query_string {代码...} 提升子句的权重bool 查询 {代码...} 提升索引的权重indices_boost {代码...} Function score queryElasticSearch 相关性打分机制年份越大...
2020-05-20
顺时针打印矩阵
顺时针打印矩阵 {代码...} [链接],[链接]本文由博客一文多发平台 OpenWrite 发布!
2023-11-22
springboot, 本地配置中心
1 eureka, application.properties {代码...} plus, bootstrap优先级高于application.properties
2022-07-07
Leetcode[35] Search Insert Position
Given a sorted array and a target value, return the index if thetarget is found. If not, return the index where it would be if it wereinserted in order.You may assume no duplicates in the array. Example 1: Input: [1,3,5,6], 5 Output: 2 Example 2: Input: [1,3,5,6], 2 Output: 1 Example 3: Input: [1...
2018-01-29
springboot使用jest操作elasticsearch
maven {代码...} 配置 {代码...} auto-config {代码...} 使用 {代码...} doc Connecting to Elasticsearch using Jest
SAP CRM WebClient UI,如何快速定位到抛出错误消息的那一行代码
As a developer in my daily life I always need to quickly locate the source code where raises a given message in webclient ui.
2020-05-04
如何自行分析定位SAP BSP错误
The “BSP tag” I mentioned in the blog title means for example the tag chtmlb:configCellerator below which is pre-delivered by SAP and you could include it in your UI component view to draw various UI element.
2020-09-04
CSS 同级元素position:fixed和margin-top共同使用的问题
结果header没有定位在顶部,而是空出了content的margin-top距离:按照position:fixed的定义,header已经脱离文档流,应该不会受到content布局影响,但结果并非如此。
分享一波前端二维码生成分案
前端生成二维码我们之前使用的是 QRCode.js,我相信大家首选也都是这个。 然后前两天,来需求了,想要实现二维码中间放 logo 的效果。没办法我就上网调研了一番。 qrcodejs 是不是支持的。 支付宝他们就是生成了一个二维码,然后在中心位置又放了个 logo。dom上看是两层,分离的。 也有一些插件基于 qrcodejs 封装,支持...
208. Implement Trie (Prefix Tree)
Note:You may assume that all inputs are consist of lowercase letters a-z.All inputs are guaranteed to be non-empty strings.
2019-01-26
selenium,Python3滚动到页面底部的几种解决方案
在用selenium获取页面时,很多时候需要将滚动条拖到页面底部,下面总结了几种方法. location_once_scrolled_into_view {代码...} target 页面底部的元素 如果页面是ajax动态渲染的,页面的高度随时变化的,所以这个方法很有可能跳不到页面底部 ActionChains {代码...} 如果页面是ajax动态渲染的,页面的高度随时变化的,所以这...
2019-10-22
COMP9414: Artificial Intelligence
COMP9414: Artificial IntelligenceAssignment 1: Temporal PlannerDue Date: Week 6, Friday, July 9, 11:59 p.m.Value: 15%This assignment concerns developing optimal solutions to planning problems for complex tasksinspired by the scenario of building a house, which requires a range of basic tasks to b...
2021-06-24