Full Text Search

Kooboo includes a full text search engine. You can follow below steps to configure and use it.

Configuration


Search Schedule Task
Kooboo full text search indexing service comes as a Kooboo schedule task, you need to enable this schedule task in order to index content. Before this, you also need to enable the Schedule Monitor as described in the Schedule Task document.

Text Schema fields
For customized fields to be included in the full text index database, you need to make sure the column “Search Index” is checked. Those system fields like “Title” will be indexed by default. For more information, refer to the Text Scheme document “Column definition” section.

Search Folder:
Folder is Kooboo’s unique concept to store content. You need to define which folder to search from and what detail URL format those content will use. Kooboo index only stores the content detail and does not store URL used.

Front site search


After Kooboo index is configured, you can use Kooboo API to query index database from front end site.Below are two API methods
public SearchedContent[] Search(string key, int  pageIndex, int pageSize, out int  totalCount);

public SearchedContent[] Search(string key, string category, bool searchBaseApps, int pageIndex, int pageSize, out int totalCount);


Below is an example of front end site implementation.