Spring Boot FTSI Starter

Spring Boot Starter for Full Text Search Interface(ftsi)

License

License

Categories

Categories

Spring Boot Container Microservices Net
GroupId

GroupId

net.bndy
ArtifactId

ArtifactId

spring-boot-starter-ftsi
Last Version

Last Version

1.1
Release Date

Release Date

Type

Type

jar
Description

Description

Spring Boot FTSI Starter
Spring Boot Starter for Full Text Search Interface(ftsi)
Project URL

Project URL

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

Project Organization

BNDY-NET
Source Code Management

Source Code Management

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

Download spring-boot-starter-ftsi

How to add to project

<!-- 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"]

Dependencies

compile (2)

Group / Artifact Type Version
net.bndy : ftsi jar 1.6
org.springframework.boot : spring-boot-starter jar 2.0.0.RELEASE

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

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.

Versions

Version
1.1
1.0-pre
1.0