On 28 Nov 2006, at 09:45, Reza Shibli wrote:> i would like to be able to index uploaded word and pdf files on the
> database before storing them to the filesystem. i need some direction
> in doing this and have been googling to no avail. can anyone point me
> in the right direction?
Have you decided what to use for indexing your documents? If not,
you might like to consider SimpleSearch[1] and Ferret[2].
SimpleSearch works best for unstructured data whereas Ferret works
best for structured data. Ferret is more sophisticated than
SimpleSearch.
It sounds like the former suits your needs more unless the contents
of your documents are structured.
Once you have decided how to index your documents, you need to
actually do the indexing. I''d suggest doing that in a background
process, so have a look at BackgrounDRb[3].
Hope that helps,
Andy Stewart
[1] http://chadfowler.com/SimpleSearch
[2] http://ferret.davebalmain.com
[3] http://backgroundrb.rubyforge.org/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---