Lucene full-text search Framework for Android offers a rapid way to integrate and manage full text search in Android by using the best open source full-featured text search engine library – Lucene.
- Select which folders to index
- See processing status for indexed folders and files
- Schedule indexing activities in order to run these operations when phone is less used
- Fully functional for text files
- Search example provided
- Supports use of wildcards and fuzzy search
How it works
- User selects a list of folders to index and schedule indexing (or uses default 00:30).
- When indexing occurs, application checks if any of the indexed files were removed from disk or updated.
- If any folders were removed from indexed folders list then the app removes associated indexed files from Lucene index, takes every folder selected for indexing and recursively process every subfolder and file in it.
- Files are processed by extracting text content and adding it to Lucene index. All info about indexed files and folders are kept in two tables in the database.
Remember that while choosing whole folders to index is better for user experience and this is the current approach it is also very simple to index simple files.
Additional help info can be found in application’s manual (html file).