Table of Contents 1. Query documents based on JavaRestClient 1.1. Query API demo 1.1.1. Basic query framework Corresponding format for DSL requests Parsing the response 1.1.2. Full text search query 1.1.3. Accurate query 1.1.4. Compound query 1.1.5. Sorting and paging 1.1.6, Highlight 1. Query documents based on JavaRestClient 1.1. Query API demo 1.1.1, basic query […]
Tag: tcl
ElasticSearch – Manipulate index libraries and documents based on JavaRestClient
Table of Contents 1. RestClient operation index library 1.1. What is RestClient? 1.2. JavaRestClient implements creation and deletion of index libraries 1.2.1. Preface 1.2.1. Initialize JavaRestClient 1.2.2. Create index library 1.2.3. Determine whether the index library exists 1.2.4. Delete the index library 1.3. JavaRestClient implements CRUD of documents 1.3.1. Initialize JavaRestClient 1.3.2. Add documents (hotel […]
TCL – transaction isolation level
Transaction Control Language: used to handle unexpected interruptions Things One or a group of SQL statements form an execution unit, either all of them are executed or none of them are executed. If the execution fails, an error occurs, and the entire unit will be rolled back. (Undo all operations) All affected data is returned […]
TCL–Transaction Isolation Level–Demo
Database isolation level: Running multiple things at the same time and accessing the same data in the database without adopting the necessary isolation mechanism will lead to various concurrency problems. Similar to multi-threaded thread safety, five people go to the same toilet at the same time, so locking must be enabled to achieve thread synchronization […]
Installing private network disk service NextCloud under Ubuntu18.04
1. Description NextCloud is an open source and free private cloud storage network disk project that allows you to quickly and easily build a set of cloud synchronization network disks for yourself or your team, thereby achieving cross-platform and cross-device file synchronization, sharing, version control, team collaboration, etc. Function. Different from public cloud disks, private […]
Use Fastclick to solve the 300ms delay problem on mobile terminals
By default, browsers on mobile devices will wait approximately 300 milliseconds after the user taps the screen before triggering a click event. This is to check whether the user is double-clicking. In order to respond immediately to the user’s click event, FastClick is created. usage: Introduce fastclick.min.js, and then add: 1 // Solve the 300ms […]
Python implements the hunter prey optimization algorithm (HPO) to optimize the random forest classification model (RandomForestClassifier algorithm) project practice
Note: This is a practical machine learning project (comes with data + code + document + video explanation). If you need data + code + document + video explanation, you can go directly to the end of the article. Obtain. 1. Project background Hunter-prey optimizer (HPO) is a latest optimization search algorithm proposed by Naruei […]
elasticsearch6-RestClient operation documentation
Business card: Blogger: Alcoholic?. Personal profile: Indulge in wine, and use the energy of wine to fight for a future. This article is inspirational: When three people are together, there must be one who is my teacher. This project is based on Bilibili’sDark Horse Programmer Java’s “SpringCloud Microservice Technology Stack”, SpringCloud + RabbitMQ + Docker […]
Linux server docker offline deployment of nextCloud container
1. Download nextcloud image Query and download images in a networked server environment [root@VM-4-16-centos ~]# docker search nextcloud NAME DESCRIPTION STARS OFFICIAL AUTOMATED nextcloud Nextcloud manual docker image 3863 [OK] linuxserver/nextcloud A Nextcloud container, brought to you by Lin… 652 nextcloud/all-in-one Nextcloud AIO stands for Nextcloud All-in-On… 88 nextcloudci/server Nextcloud server straight from GitHub master […]
Linux nextcloud personal network disk deployment
Linux nextcloud personal network disk deployment First level directory Secondary directory Third-level directory 1.Install nextcloud 2.Configure nextcloud 3. Network and security settings 3.1 Modify the service port of personal server nextcloud 3.2 Firewall 3.3 Configure trust domain Method 1: Add a single IP to the trusted domain through the command Method 2: Edit the configuration […]