What are the considerations for searching text in Java? Are there any tools available?

Joe Sam Shirah

Efficient text searching in Java: Finding the right string in any language by Laura Werner provides a good overview, along with code, of I18N and Unicode text search issues. As pointed out in the article, StringSearch is available from alphaWorks on a trial basis. Another tool that indexes and searches ( and is free ), with some provision for localization, is Jakarta Lucene. Note that jGuru has a Lucene FAQ.