Skip to content

iboxdb/full-text-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 

Repository files navigation

Full Text Search

This project has merged into

FTS Web Server

Config

 Engine engine = new Engine();
 engine.Config(db.getConfig().DBConfig);

Index

try (Box box = auto.cube()) {
    engine.indexText(box, id, text, false);
    box.commit();
}

Search

try (Box box = auto.cube()) {
    for (KeyWord kw : engine.searchDistinct(box, "Linux")) {
      System.out.println(engine.getDesc(text, kw));
    }
}

About

Lightweight embedded java full text search engine

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages