Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bndynet/ftsi
Full Text Search Interface based on Apache Lucene
https://github.com/bndynet/ftsi
full-text-search lucene
Last synced: about 2 months ago
JSON representation
Full Text Search Interface based on Apache Lucene
- Host: GitHub
- URL: https://github.com/bndynet/ftsi
- Owner: bndynet
- Created: 2018-03-14T12:36:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-18T03:10:16.000Z (about 6 years ago)
- Last Synced: 2023-07-05T08:08:45.444Z (over 1 year ago)
- Topics: full-text-search, lucene
- Language: Java
- Homepage:
- Size: 118 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Full Text Search Interface
This is an interface based on Apache Lucene for easy to code and easy to search.
## How to Use
```java
public class Entity {
@Indexable(isKey = true)
private String id;
private String title;
private String Content;
// getters and setters
// ...
}Entity entity = new Entity();
entity.setId("");
entity.setTitle("Hello World");
entity.setContent("This is the content.");IndexService indexService = new IndexService("");
indexService.createIndex(entityInstance);
indexService.deleteIndex(Entity.class, "");
SearchResult 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
```xml
net.bndy
ftsi
1.0```