Original address: http://javaz.cn/site/javaz/site_study/info/2015/23070.html
Project Address:http://www.freeteam.cn/
Full Text Search
Support Starting from Freecms 1.7
Only objects that have been indexed can be queried by the Lucene class label.
The information class data will be processed automatically when the information is updated, audited, deleted, and restored.
1. Create an index
From the admin menu on the left, click Create Index to enter.
You can select the columns you want to create an index from, and then click "Create INDEX" to create the full-text search.
If you are the total administrator of this site, you can also select the "Whether all columns" attribute to Yes, click "CREATE INDEX" to complete the index creation of all columns of this site.
2. Deleting an index
From the admin menu on the left, click Delete Index to enter.
You can select the column you want to remove the index from, and then click "Delete Index" to delete the full-text search.
If you are the total administrator of this site, you can also select the "All columns" attribute to Yes, click "CREATE INDEX" to complete the index of all columns of this site delete.
3. Clear the Index
Support Starting from FREECMS 2.0
From the left admin menu, click Empty Index to enter.
Click OK. This action will delete all full-text index data and not be recoverable!
Open source Java cms-freecms2.3 full Text Search