I think we can improve the search engine usages with the recent lucene (3.0.1 or later) like the followings:
- Use explicit term queries instead of string based query which could have made problems to not distinguish portlet app and portlet def.
- By default, we can configure RAM Directory instead of FS Directory.
Because the current search index store is small-sized for portlet registry, the in-memory search index could be no problem by default.
Of course, we could provide a configuration and spring assembly to allow search index directory customizations.
- Currently, we don't have options to check or reinitialize the search index directory. If we do, it would be great because we don't have to restart the servlet container to reinitialize the search index.