Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bndynet/spring-boot-starter-ftsi
Spring Boot Starter Project for Full Text Search Interface
https://github.com/bndynet/spring-boot-starter-ftsi
full-text-search lucene spring-boot spring-boot-starter
Last synced: 9 days ago
JSON representation
Spring Boot Starter Project for Full Text Search Interface
- Host: GitHub
- URL: https://github.com/bndynet/spring-boot-starter-ftsi
- Owner: bndynet
- Created: 2018-03-24T06:37:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-03T11:42:38.000Z (over 6 years ago)
- Last Synced: 2024-11-12T20:17:21.688Z (2 months ago)
- Topics: full-text-search, lucene, spring-boot, spring-boot-starter
- Language: Java
- Homepage:
- Size: 152 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spring Boot Starter [FTSI](https://github.com/bndynet/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.
```xml
net.bndy
spring-boot-starter-ftsi
1.0-pre```
**File: application.yml**
```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: # the beginning part of html tag for highlight matched text
highlight-post-tag: # 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**
```java
@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](https://github.com/bndynet/ftsi) to get started for `IndexService`.