Elasticsearch series - Custom mapping

outline This article continues with the previous one, focusing on customizing mapping, custom objects, and the underlying structure of array collection classes. Custom mapping The previous article described the automatic mapping of Elasticsearch. When creating an index, you can specify the mapping information first, or take the music index as a ...

Posted by phpgeek17 on Fri, 27 Dec 2019 01:17:26 +0100

SSM format format of export report time

1, Data in the database Time format is dateTime type   2, Corresponding Moddel entity class  private Date goOutTicketTime;  private Date returnOutTicketTime;  private Date depositPayTime;  private Date orderInvalidTime; 3, action of Export Report The corresponding export field to display is a property in the Model. If ...

Posted by palace on Thu, 26 Dec 2019 21:17:20 +0100

Implementation of special effect of carousel carousel with native JS

It's about this son: First of all, let's make a simple layout (emm... Let's do something about it, anyway, it's mainly made up of js) 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <meta name="viewport" content="width=device-width, initial-scale=1.0"> 6 <meta http-eq ...

Posted by USMarineNCO on Thu, 26 Dec 2019 19:00:16 +0100

ajaxfileupload upload file with parameters

A few days ago, when uploading files with ajaxfileupload, I found that ajaxfileupload could not be transferred with parameters, so I found a ready-made ajaxfileupload that can be transferred with parameters from github, and learned how to upload files with ajaxfileupload. The github address of ajaxfileupload that can be passed ...

Posted by barkster on Wed, 25 Dec 2019 18:43:17 +0100

Search details of elastic search (2): request body search

The previous article introduced the search based on url. This time I want to talk about a more advanced search method - Request Body Search. The search parameters are not written on the url, but sent as the requested data. The syntax of Query DSL can be used to combine more flexible searches. A simple example GET /customer/_s ...

Posted by frabble on Wed, 25 Dec 2019 16:15:46 +0100

HTML table template

HTML table 1. < Table > label: declare a table. Its common attributes are as follows:Border property: defines the border of the table. The setting value is a valuecellpadding property: defines the distance between the cell content and the border. The setting is a numeric valuecellspacing property: defines the distance between cells. The ...

Posted by Sorrow on Mon, 23 Dec 2019 21:04:30 +0100

Jscript animation series (1) -- draw a small ball on Canvas with JS

Recently in the study of JS animation, have some heart to share with you! Due to the lack of content in the early stage, the styles and other things are written in the Html file! First (Index.html) <!doctype html> <html> <head> <meta charset="utf-8"> <title>this is one Ball</title> &l ...

Posted by jazz_snob on Sun, 22 Dec 2019 22:49:08 +0100

Key points of wechat applet development

Citation of js In JS: //In the referenced js //Methods or properties that you want to be called by other js var local_data = [ { name: john, age: 19 }, { name: mike, age: 29 } ] function convertToStartsArray(starts){ var num = starts.toString().substring(0,1); var arra ...

Posted by cool-palace-ceo on Sat, 21 Dec 2019 20:40:55 +0100

Create and publish a tomato clock from scratch

1. Make your own tomato clock On a PC I've been using "Little Tomato" as my tomato clock software, and I turn it on and maximize it on my secondary monitor so that not only does it do its part, but I can also tell my colleague that I'm working hard.But I always wanted to write a tomato clock software by myself. It was so itchy that I ...

Posted by neogemima on Sat, 21 Dec 2019 20:06:22 +0100

[KairosDB] CentOS7 install KairosDB-1.2.1

  1. System environment: OS: CentOS7.3 Java: JDK8 Cassandra: cassandra-3.10   2. Install KairosDB 2.1 download and unzip [root@cassandra01 software]# tar -zxvf kairosdb-1.2.1-1.tar.gz -C /software/ [root@cassandra01 software]# cd /software/kairosdb/ [root@cassandra01 kairosdb]#   2.4 modify underlying storage Kairo ...

Posted by SunsetKnight on Fri, 20 Dec 2019 21:16:49 +0100