Full Text Search Interface

Full Text Search Interface based on Apache Lucene

Лицензия

Лицензия

Категории

Категории

Сеть
Группа

Группа

net.bndy
Идентификатор

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

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

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

1.6.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Full Text Search Interface
Full Text Search Interface based on Apache Lucene
Ссылка на сайт

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

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

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

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

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

https://github.com/bndynet/ftsi

Скачать ftsi

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

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

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
net.bndy : lib jar 1.0.9
org.apache.lucene : lucene-core jar 7.2.1
org.apache.lucene : lucene-queryparser jar 7.2.1
org.apache.lucene : lucene-highlighter jar 7.2.1

test (1)

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

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

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

Full Text Search Interface

This is an interface based on Apache Lucene for easy to code and easy to search.

How to Use

public class Entity {
    @Indexable(isKey = true)
    private String id;
    private String title;
    private String Content;
    
    // getters and setters
    // ...
}

Entity entity = new Entity();
entity.setId("<id>");
entity.setTitle("Hello World");
entity.setContent("This is the content.");

IndexService indexService = new IndexService("<path for index persistence>");
indexService.createIndex(entityInstance);
indexService.deleteIndex(Entity.class, "<id>");
SearchResult<Entity> matched = indexService.search("world", Entity.class, 1, 10);

Example Project: https://github.com/bndynet/web-framework-for-java

Maven

More versions, please visit http://mvnrepository.com/artifact/net.bndy

<dependency>
    <groupId>net.bndy</groupId>
    <artifactId>ftsi</artifactId>
    <version>1.0</version>
</dependency>

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

Версия
1.6.1
1.6
1.5
1.4
1.3
1.2
1.1
1.0-pre
1.0