Spring Boot FTSI Starter

Spring Boot Starter for Full Text Search Interface(ftsi)

Лицензия

Лицензия

Категории

Категории

Spring Boot Контейнер Микросервисы Сеть
Группа

Группа

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

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

spring-boot-starter-ftsi
Последняя версия

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

1.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Spring Boot FTSI Starter
Spring Boot Starter for Full Text Search Interface(ftsi)
Ссылка на сайт

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

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

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

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

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

https://github.com/bndynet/spring-boot-starter-ftsi

Скачать spring-boot-starter-ftsi

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

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

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
net.bndy : ftsi jar 1.6
org.springframework.boot : spring-boot-starter jar 2.0.0.RELEASE

test (1)

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

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

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

Spring Boot Starter FTSI

Spring Boot Starter Project for Full Text Search Interface (https://github.com/bndynet/ftsi)

Usage

Maven

Visit http://mvnrepository.com/artifact/net.bndy/spring-boot-starter-ftsi to get more versions.

<dependency>
  <groupId>net.bndy</groupId>
  <artifactId>spring-boot-starter-ftsi</artifactId>
  <version>1.0-pre</version>
</dependency>

File: application.yml

spring:
  ftsi:
    analyzer: org.apache.lucene.analysis.standard.StandardAnalyzer      # define your analyzer, StandardAnalyzer is the default analyzer if empty 
    data-path: ./ft-folder                                              # the path to store full text index files
    highlight-pre-tag: <b class="highlight">                            # the beginning part of html tag for highlight matched text
    highlight-post-tag: </b>                                            # the ending part of html tag for highlight matched text
    highlight-fragment-size: 300                                        # the length of returned text which contains highlight content

Java Code

@SpringBootApplication
public class Application {

  @Autowired
  private IndexService indexService;

  public static void main(String[] args) { 
    SpringApplication.run(Application.class, args); 
    // start to use indexService...
  }
}

NOTE: Click here to get started for IndexService.

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

Версия
1.1
1.0-pre
1.0