I don't think you will be limited by Sqlite's database size capabilities - see my reply to marto above.
in reply to Re^2: Writing a database lookup tool
in thread Writing a database lookup tool
FYI - current versions include FTS (Full text search) capabilities.
Sqlite and perl run on every platform I have heard of.
I'm not familiar with Solr - it certainly looks interesting - and may map better to your problem domain. However, I got the impression you wanted a stand-alone (not web-server based) solution. Sqlite may be better for that option. Yes - you will need to install each stand-alone instance, but installation is trivial - just copy the file in. Also - it is possible for multiple sqlite clients to access a single shared sqlite database file.
"By three methods we may learn wisdom: First, by reflection, which is noblest; Second, by imitation, which is easiest; and third by experience, which is the bitterest."