Basic use of Lucene and Solr

Lucene 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. Inverted index 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

Django CBV: form processing

CBV Reference link: https://docs.djangoproject.com/en/3.0/topics/class-based-views/generic-editing/ (official document of Django) CBV is Class Based View, which is to build a view through class. Different from FBV(Function Based View), by using class inheritance and mixins, CBV has higher code ...

Posted by miha on Mon, 15 Jun 2020 00:51:15 -0700

Competition between brothers -- ArrayList and LinkedList

In the process of daily development, we often use the list structure. Many brothers started to write such statements directly: List < x x x > x = new ArrayList < > ();. But there are many ways to implement list, and LinkedList is a general way to implement list without thread safety. We unde ...

Posted by adrianTNT on Mon, 15 Jun 2020 00:19:33 -0700

[note] data structure and algorithm of JavaScript version - "sorting class" of basic algorithm (164. Maximum spacing)

Article catalog Maximum spacing 1. Title Example 1 Example 2 Topic template 2. Thought analysis 3. Methods used 4. Problem solving and optimization Maximum spacing 1. Title 164. Maximum spacing - LeetCode Given an unordered array, find out the maximum difference between adjacent element ...

Posted by XxDeadmanxX on Sun, 14 Jun 2020 23:13:37 -0700

OpenCV Development Notes: red fat man 8 minutes to take you in-depth understanding of SIFT feature points (illustrated + easy to understand + program source code)

If the article is original, it cannot be reproduced without permission Original blog address: https://blog.csdn.net/qq21497936 Original blogger blog navigation: https://blog.csdn.net/qq21497936/article/details/102478062 Blog address: https://blog.csdn.net/qq21497936/article/details/106755662 Dear readers, knowledge is infinite and manpower ...

Posted by jbardin on Sun, 14 Jun 2020 21:36:12 -0700

Gradient descent + regression

First of all, understand what is return. The purpose of regression is to predict the target value of another numerical data through several known data. Suppose that the characteristic and the result satisfy the linear relation, that is to say, the independent variable of the formula is the known data x ...

Posted by smitho on Sun, 14 Jun 2020 00:58:52 -0700

Python implementation of multiplexing TCP LAN file transmission based on socket

Basic information of LAN transmission 1. What is Io? ⦁ definition ⦁ blocking IO ⦁ non blocking IO 2.IO multiplexing definition select specific usage 3. Realize the file transmission of multiplex LAN server.py client.py FileOperation.py matters needing attention Operation effect 1. What is ...

Posted by steelerman99 on Sat, 13 Jun 2020 21:27:21 -0700

On Qt3D module

0. Preface Qt3D is initiated by Nokia, and then improved by Digia and KDAB (the new version seems to be basically made by KDAB). It is a 3D image display and processing module based on OpenGL. Unfortunately, the data of Qt3D is relatively small, and with the version change, many online old Demo can' ...

Posted by Mattyspatty on Sat, 13 Jun 2020 18:10:30 -0700

Learn these Python art skills and wait for your girlfriend to praise you

1, Foreword Python has many libraries for image processing, such as pilot or OpenCV. Most of the time, it's useless to learn these image processing modules, but you don't know how to use them. Today, I've brought you some art skills to make your art come true. The circle of friends is full of praise. My girlfriend also praises you. How powerful ...

Posted by neutra on Fri, 12 Jun 2020 22:59:48 -0700

[JavaSE]: 7. Java operator

Java operators One of the most basic uses of computers is to perform mathematical operations. As a computer language, Java also provides a rich set of operators to manipulate variables. We can divide operators into the following groups: Arithmetic operator Relational operators Bitwise Operators Logi ...

Posted by jebster on Fri, 12 Jun 2020 22:50:59 -0700