Newbie to Lucene but here is the scenario that I'm having that I would like an advice for

I have a list of keywords (about
20K) and would like to search any document that is being posted for
the presence of any of these keywords. I'm not sure if there is a
better way of doing this but I really don't want to make a 20K
SQL searches every time a doc is posted.

also I'm using Ruby on Rails Sunspot integration of Solr is that possible?


Thanks

Maged Makled