I would recommend either the hashed representation (which cannot be easily
reversed) or the Lucene version.  No need to go to great lengths to rewrite
this code.

On Sat, Jan 16, 2010 at 8:50 AM, Grant Ingersoll <gsing...@apache.org>wrote:

> A Lucene index, w/ no storage, positions, etc. (optionally) turned off will
> be very efficient.  Plus, there is virtually no code to write.  I've seen
> bare bones indexes be as little as 20% of the original w/ very fast lookup.
>  Furthermore, there are many options available for controlling how much is
> loaded into memory, etc.  Finally, it will handle all the languages you
> throw at it.
>
> -Grant
>
>

Reply via email to