Lucene-Utils

Adaption of String utilities from the Apache Lucene Project

Лицензия

Лицензия

Группа

Группа

com.illucit
Идентификатор

Идентификатор

lucene-utils
Последняя версия

Последняя версия

1.1.2
Дата

Дата

Тип

Тип

jar
Описание

Описание

Lucene-Utils
Adaption of String utilities from the Apache Lucene Project
Ссылка на сайт

Ссылка на сайт

https://www.illucit.com
Организация-разработчик

Организация-разработчик

illucIT Software GmbH
Система контроля версий

Система контроля версий

https://github.com/illucIT/lucene-utils

Скачать lucene-utils

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.illucit/lucene-utils/ -->
<dependency>
    <groupId>com.illucit</groupId>
    <artifactId>lucene-utils</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.illucit/lucene-utils/
implementation 'com.illucit:lucene-utils:1.1.2'
// https://jarcasting.com/artifacts/com.illucit/lucene-utils/
implementation ("com.illucit:lucene-utils:1.1.2")
'com.illucit:lucene-utils:jar:1.1.2'
<dependency org="com.illucit" name="lucene-utils" rev="1.1.2">
  <artifact name="lucene-utils" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.illucit', module='lucene-utils', version='1.1.2')
)
libraryDependencies += "com.illucit" % "lucene-utils" % "1.1.2"
[com.illucit/lucene-utils "1.1.2"]

Зависимости

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

lucene-utils

Maven Central

This package contains a wrapper for the function org.apache.lucene.analysis.miscellaneous.ASCIIFoldingFilter#foldToASCII from the Apache Lucene project.

The file was taken from the class org.apache.lucene.analysis.ASCIIFoldingFilter from the Apache Lucene project (package lucene-analyzers-common, version 4.7.0). This file was modified only by removing non-static functions which had dependencies to further Lucene classes. The static function foldToASCII itself is unmodified.

Requirements

lucene-utils is compiled with the Java7 compilation target, but it has support for Jigsaw (Java9+ module system).

In order to use it in a modular project, add the module com.illucit.lucene.utils to your project.

An example can be seen in the module-info.java of example-projects/java10.

module lucene.utils.java10example {
    [...]
    requires com.illucit.lucene.utils;
}

Setup Maven

To include this artifact as dependency of your Maven project in your pom.xml:

<dependency>
    <groupId>com.illucit</groupId>
    <artifactId>lucene-utils</artifactId>
    <version>1.1.2</version>
</dependency>

Usage

The package provides a Utility function com.illucit.util.ASCIIUtils#foldToASCII(String) which will replace all diacritical characters with the ASCII base variant, e.g. "ä" -> "a", "É" -> "E" and "ß" -> "ss". The mapping for the replacement is taken from a class in Apache Lucene.

com.illucit

illucIT Software GmbH

agile - smart - reliable

Версии библиотеки

Версия
1.1.2
1.1.1
1.1.0
1.0.1