Need help with ftserver?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

222 Stars 66 Forks 323 Commits 1 Opened issues


Full Text Search Engine Server for Java, Lightweight embeddable, powered by iBoxDB.

Services available


Need anything else?

Contributors list

# 182,888
209 commits

Full Text Search Lightweight Server for Java

User Guide


  1. Install Java 11

  2. Install Maven 3

  3. Download this Project.

  4. Run

$ cd FTServer
$ mvn package cargo:run
  1. Open

Input a Full URL to index the Page, then search.

Search Format

[Word1 Word2 Word3] => text has Word1 and Word2 and Word3

["Word1 Word2 Word3"] => text has "Word1 Word2 Word3" as a whole

Search [https http] => get almost all pages

Developer Guide

Download Netbeans





The Results Order

The results order based on the id() number in class PageText, descending order.

A Page has many PageTexts. if don't need multiple Texts, modify Html.getDefaultTexts(Page), returns only one PageText.

the Page.GetRandomContent() method is used to keep the Search-Page-Content always changing, doesn't affect the real PageText order.

Use the ID number to control the order instead of loading all pages to memory. Or load top 100 pages to memory then re-order it by favor.

Search Method

search (... String keywords, long startId, long count)

startId => which ID(the id when you created PageText) to start, use (startId=Long.MaxValue) to read from the top, descending order

count => records to read, important parameter, the search speed depends on this parameter, not how big the data is.

Next Page

set the startId as the last id from the results of search minus one

startId = search( "keywords", startId, count);
nextpage_startId = startId - 1 // this 'minus one' has done inside search()
//read next page
search("keywords", nextpage_startId, count)

mostly, the nextpagestartId is posted from client browser when user reached the end of webpage, and set the default nextpagestartId=Long.MaxValue, in javascript the big number have to write as String ("'" + nextpage_startId + "'")

Private Server


public Page Html.get(String url);
Set your private WebSite text
Page page = new Page();
page.url = url;
page.title = title;
page.text = replace(doc.body().text());
page... = ...
return page;

Set Maximum Opened Files

[[email protected] ~]$ cat /proc/sys/fs/file-max
[[email protected] ~]$ ulimit -a | grep files
open files                      (-n) 500000
[[email protected] ~]$  ulimit -Hn
[[email protected] ~]$ ulimit -Sn
[[email protected] ~]$ 

$ vi /etc/security/limits.conf

  •     hard    nofile      500000
  •     soft    nofile      500000
    root hard nofile 500000 root soft nofile 500000

[[email protected] ~]$ firewall-cmd --add-port=8080/tcp --permanent


C# ASP.NET Core Version

FTServer for Android with APK


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.