Home » Archives for Kevin Yang » Page 2

Author Archives: Kevin Yang

A software design and development professional with seventeen years’ experience in the IT industry, especially with Java EE and .NET, I have worked for software companies, scientific research institutes and websites.

Apache Solr Fuzzy Search Example

1. Introduction In this example we are going to build queries by using fuzzy search provided by Apache Solr. Fuzzy search is a powerful tool to find inexact matches in the Solr index. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the ...

Read More »

Apache Solr Standard Query Parser Example

1. Introduction In this example, we are going to talk about one key component of Apache Solr: the Standard Query Parser. It is also known as “Lucene” query parser because Apache Solr is built upon Apache Lucene. Then we will show you how to use it in queries against our sample articles collection. Table Of Contents 1. Introduction 2. Technologies ...

Read More »

Apache Solr Function Query Example

1. Introduction In this example, we are going to explain what the Apache Solr Function Query is and how to use it in queries against our sample articles collection. 2. Technologies Used The steps and commands described in this example are for Apache Solr 8.5 on Windows 10. The JDK version we use to run the SolrCloud in this example ...

Read More »

Apache Solr Clustering Example

In this article, we will demonstrate an Apache Solr Clustering Example. We are going to show you how to set up and run a SolrCloud with two Solr servers and an embedded ZooKeeper instance on your local machine. Once it is up and running, we will show you how to use it to index our sample article collection and how ...

Read More »

Java Method Signature

In this post, we are going to talk about the Java method signature, method overloading, and method overriding by examples. The JDK version we use to compile the source code in this example is OpenJDK 13 and the IDE we use is Eclipse IDE 2020-03. 1. What is a method signature in Java In Java programming language, the method signature ...

Read More »

Java RMI – Java Remote Method Invocation Example

1. What is RMI In this article, we will talk about RMI java examples and remote procedure call. (Remote Method Invocation) is an object-oriented way of RPC (Remote Procedure Call) to realize communication between distributed objects in a distributed computing environment. It allows an object to invoke methods on a remote object. Java RMI, a Java implementation of remote method ...

Read More »

Wrapper Class Java Example

1. What is a wrapper class A wrapper class in Java is a way to convert a primitive data type such as boolean, int, etc. into an object. Also, we can convert an object of a wrapper class into its corresponding primitive type. In this article we are going to talk about why we need wrapper classes, autoboxing, and autounboxing. ...

Read More »

How to create an Array in Java

In this article, we will see How to create an Array in Java. You can check how to use arrays in Java in the following video: Java Array Example – How to use Arrays in Java 1. What is an array? An array is a data structure used as a container to store a collection of elements with the same ...

Read More »