Elastic Search Learning Notes-Vector Vector Search Records
In Elastic search 7.0, ES introduces field types of high-dimensional vectors:
Dense_vector stores dense vectors. Value is a single float value, which can be zero, negative or positive. The maximum length of the dense_vector array can not exceed 1024. The array length of each document can be differen ...
Added by lssjg on Wed, 02 Oct 2019 11:10:14 +0300
node Notes - Writing of json Files
What we did was a little demo.The general contents are as follows:1. Front End of Vue Framework Writing2.axios call interface3. Write json through interface4. access to all computers in the LAN.
First you need to install somethingFront end is
npm install axios
Back-end installation of express framework
npm install express --save
npm install bod ...
Added by johne281 on Tue, 01 Oct 2019 23:30:20 +0300
PHP implements small program message board function (end) with comment function added
PHP Implements Message Board Function for Small Programs (End)
Next, the comment function is added to the above article. First, look at the effect map, as shown in the figure below.
I didn't delete comments here, because I didn't do it as I did in the article. Okay, next is the comment function code.l ...
Added by pereira2k5 on Tue, 01 Oct 2019 17:50:42 +0300
python co-crawls pictures of Beautiful Fighters
Links to the original text: https://www.cnblogs.com/lxy0/p/11413976.html
Analyse the Web Site to Find the Need Web Site
Use browser browser to press F12 to open developer tools, and then open the page of the fight fish classification page. ...
Added by dunn_cann on Tue, 01 Oct 2019 13:28:27 +0300
A comparative analysis of jackson, fastjson and Gson
Fast is not the only factor to be considered. Compared with database IO, json parsing time is negligible.2 fastjson has made many optimizations for specific requirements, resulting in less stringent checks, such as array [daylight saving time], summer time, or not at the end.3. Jackson is more powerful and more configurable (fastjson)For exampl ...
Added by Gargouil on Tue, 01 Oct 2019 01:32:59 +0300
node Initial - - HTTP module and static file server
HTTP module
The HTTP module is one of the most important modules in the node, not one.This module provides the ability to execute HTTP services and generate HTTP requests. In fact, we will use the server written by node, mainly the HTTP module. Let's first look at the code needed by a simple HTTP server.
const http = require('http')
const serve ...
Added by robin on Sat, 28 Sep 2019 19:25:58 +0300
Unified Return of springboot Global Processing
brief introduction
In REST-style development, avoid informing the front desk of success and status codes. Here we usually do a util wrapping when we return, such as: Result similar classes, which contain succ, code, msg, data and other fields.
The interface call returns something like this:
{
"succ": false, // Success
"ts": 156646762 ...
Added by bajangerry on Fri, 27 Sep 2019 14:17:35 +0300
What are the similarities and differences among the three styles of For loops in JS?
For reprinting, please indicate the source: Vineyard website Vineyard provides professional development tools, solutions and services to enable developers.Origin: https://blog.bitsrc.io/3-flavors-of-the-for-loop-in-javascript-and-when-to-use-they-f0fb5501bdf3
The for loop is an essential grammar for learning any development language ...
Added by ivalea on Fri, 27 Sep 2019 05:40:54 +0300
Serialization of Dry Cargo Series Performance Chapter
Serialization scheme
Java RMI uses Java serialization
Spring Cloud uses JSON serialization
Although Dubbo is compatible with Java serialization, Hessian serialization is used by default.
Java serialization
principle
Serializable
JDK provides the input stream object ObjectInputStream and the output stream object ObjectOut ...
Added by llanitedave on Wed, 25 Sep 2019 13:43:18 +0300
SpringBoot Unified Date Format for Json Data Processing
SpringBoot Unified Date Format for Json Data Processing
1. Pseudo-code examples
User.java
@Getter
@Setter
@AllArgsConstructor
public class User {
private Long id;
private String name;
private Date birthday;
}
UserController.java
@RestController
public class UserController {
@GetMapping(" ...
Added by ottoman_ on Wed, 25 Sep 2019 12:54:11 +0300