solr enterprise search application server

catalog 1. Introduction to Solr 2. Inverted index 3. Introduction to Lucene API 4. solr installation Chinese word segmentation tool - IK analyzer 5. Connect mysql Import product data from mysql Query test 6. Practice 1. Introduction to Solr In fact, we use almost all of them, such as Taobao, J ...

Posted on Fri, 05 Jun 2020 03:38:21 -0400 by BillyMako

Beauty of Mybatis source code: 2.1. Build XmlConfigBuilder and prepare the basic environment for parsing XML files

Build XmlConfigBuilder to prepare the basic environment for parsing XML files As mentioned earlier, the XmlConfigBuilder object is mainly used to parse the global Configuration file of mybatis and obtain the instance of the Configuration object. XmlConfigBuilder exposes six construction methods, which can be divided into two categories accordin ...

Posted on Fri, 05 Jun 2020 02:04:30 -0400 by _rhod

JDBC get auto primary key, batch operation

1: Getting database auto increment primary key by jdbc Usage scenario: after inserting a record, you need to directly use the record for other operations. For example, after inserting an order, you need to insert an order item record into the order detail table, and you need to use the primary key as the foreign key o ...

Posted on Thu, 04 Jun 2020 14:26:03 -0400 by starrieyed

Java Spring Cloud Road to Actual Work - 1 Create Project

0. Preface The project is managed and built using Maven, so it needs to be preconfigured.Well, I haven't done much in this series. 1. Create a project Create one firstPom.xmlFile, add the following: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSc ...

Posted on Sun, 31 May 2020 12:34:53 -0400 by widget

spring boot custom starter

spring boot uses starter to solve many configuration problems, but how does it solve these problems Here is a simple example to see how starter sets the default configuration 1, Build starter project The project naming specification is: custom name spring boot starter Let's take a look at my last directory structure   1. Modification pom.xml ...

Posted on Sun, 31 May 2020 12:31:13 -0400 by tibberous

Configure different access ports for multiple applications in tomcat

Configure different access ports for multiple applications in tomcat Open tomcat installation directory and check conf/server.xml <?xml version="1.0" encoding="UTF-8"?> <Server port="8005" shutdown="SHUTDOWN"> <Listener className="org.apache.catalina.core.AprLifecycleListener" /> <Listener c ...

Posted on Sun, 31 May 2020 10:02:39 -0400 by LoneTraveler

For four years in a row, it has become the "favorite language for developers". Have you ever understood this programming language?

fn main() { println!("hello rust");} With the launch of Facebook's Libra project, Rust became the biggest project in the history of Rust, but with the rise of global digital currency, the journey of Rust may be just beginning. Although you may not know much about Rust, in the eyes of developers, it's really delicious! For four years in a r ...

Posted on Sat, 30 May 2020 06:08:29 -0400 by ucffool

How to use Apache Flink to query Pulsar flow

In the previous blog, we introduced Apache Pulsar and its differences from other message systems, and explained how to integrate Pulsar and Flink to work together to provide a seamless developer experience for large-scale elastic data processing.   This article will introduce the integration and latest research and development progress of Apa ...

Posted on Sat, 30 May 2020 02:54:34 -0400 by pck76

PHP multiprocess processing tcp connection

<?php if(($sock = socket_create(AF_INET, SOCK_STREAM, 0)) < 0) { echo "failed to create socket: ".socket_strerror($sock)."n"; exit(); } if(($ret = socket_bind($sock,'127.0.0.1', 8888)) < 0) { echo "failed to bind socket: ".socket_strerror($ret)."n"; exit(); } if( ( $ret = socket_listen( ...

Posted on Thu, 28 May 2020 10:07:18 -0400 by jay7981

k8s deployment Flink

https://flink.apache.org/ #Flink official website This step (k8s) deployment requires a profile First copy all the configuration files of Flink to the local, and then hang the local configuration files in the POD 1.1 configuration file of jobmanager vim flink-conf.yaml Modify profile jobmanager.rpc.address: flink-jobmanager-svc jobmanage ...

Posted on Wed, 27 May 2020 11:14:00 -0400 by jviney