Home » Archives for Kevin Yang

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. Currently I am working as a Senior Software Engineer at Tripadvisor's Sydney Office in Australia.

Apache Solr and Apache Tika Integration Tutorial

This article is a tutorial about Apache Solr and Apache Tika Integration. 1. Introduction A Solr index can accept data from many different sources, such as CSV, XML, databases and common binary files. If the data to be indexed is in binary format, such as WORD, PPT, XLS, and PDF, the Solr Content Extraction Library (the Solr Cell framework) built ...

Read More »

Apache Solr OpenNLP Tutorial – Part 2

1. Introduction In Part 1 we’ve set up Apache Solr OpenNLP integration and used its analysis components, tokenizer, and filters, to process and analyze the sample data. In this example, we are going to explore another powerful feature provided by Solr OpenNLP integration: extracting named entities at index time by using OpenNLP NER (Named Entity Recognition) model. Table Of Contents ...

Read More »

Apache Solr OpenNLP Tutorial – Part 1

This is an article about Apache Solr OpenNLP. 1. Introduction Natural Language Processing (NLP) is a field focusing on processing and analyzing human languages by using computers. Using NLP in a search will help search service providers to have a better understanding of what their customers really mean in their searches, thus to run search queries more efficiently and to ...

Read More »

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 RMI (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 invocation, consists of several APIs under java.rmi package. It allows a Java program ...

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 »