I am developing a website on books and require a script built in PHP or Ruby on Rails with Oracle as the database. The database is supposed to handle over a million articles. It should have access to a limited number of registered users (about 20,000) who can upload the content. The visitors can search the database and download the documents without a need for registration. The script should enable search based on book title, publisher, author, etc. Please suggest me a script.