Lucene is a full-text search tool, which provides a complete set of APIs for creating, searching and indexing functions. We can call these APIs in the code to realize our search services.
Lucene implements index function based on inverted file index structure. So what is an i ...
Posted by pointsplat on Mon, 15 Jun 2020 01:13:25 -0700
Main references: https://www.jianshu.com/p/c2b589170379
Add ecrats dependency:
ECharts is an open-source framework developed and provided by Baidu, which is mainly provided for the use of the Web. Therefore, WebView is generally used ...
Posted by Collin on Sat, 13 Jun 2020 22:18:20 -0700
The creation of index file, an important part of the full text, can be realized through Lucene.
Create index basic process
Select a folder as the directory for index output.
Create index output stream object
Read the data source, encapsulate the document object, and define the attributes of the docum ...
Posted by borris_uk on Sat, 13 Jun 2020 20:56:25 -0700
What is a filter?
You can think of it as a sieve, which filters out some parameters in request and response1. Import related jar packages
Import the common jar package in the pom file
<!-- commons Shared package, used by filter interceptor -->
Posted by treppers on Sat, 13 Jun 2020 01:35:15 -0700
Write in front
Combined with TestNG configuration
Combined with Junit configuration
Matching mvn command use
Write in front
The surefire plug-in is used in the test phase of maven's life cycle for testing. It provides some mvn operations that are convenient for us to perform th ...
Posted by slj90 on Fri, 12 Jun 2020 02:24:24 -0700
I've always envied others for making wheels and open source projects for others to use. I also want to do this. I can learn little by myself. This time, I will upload my own writing tools to Maven's central warehouse.
The detailed step-by-step tutorial is shown as follows:
Notice the Maven addresses at first:
Work order management: https://is ...
Posted by ZimmerX on Wed, 10 Jun 2020 21:29:24 -0700
Reference article Troubleshooting: when pdfbox is used to transfer pdf to image, stsong light font in Chinese is garbled
pdfbox version is 2.0
A log like this (for example, using fallback XXX for CID keyed font stsong light) is printed in the log, which means that stsong light font is not installed in t ...
Posted by tejama on Tue, 09 Jun 2020 20:53:59 -0700
Zookeeper is frequently used in distributed development, but many frameworks encapsulate it. Beginners may not understand its working principle well. This article demonstrates the simple demo of using zookeeper to realize service registration and service discovery, hoping to achieve the effect of attracting valuable ideas;
why need ...
Posted by phpdev12 on Mon, 08 Jun 2020 21:42:03 -0700
AOP: [dynamic agent]
It refers to the programming method that dynamically cuts a piece of code into a specified method position to run during the program running
1. Import aop module: Spring AOP: (spring aspects)
2. Create a business logic class (MathCalculator): print the log when the business logic ...
Posted by ataylor20 on Mon, 08 Jun 2020 19:00:16 -0700
Sometimes I want to realize reverse proxy through nginx, and map to different tomcat servers according to different URLs, which has achieved the purpose of hanging multiple websites and applications in one server.
1) The simplest is to modif ...
Posted by grigori on Fri, 05 Jun 2020 22:25:27 -0700