Hi!

On 16.10.2008, at 16:01, Lyes Amazouz wrote:

I've have created an index using a Rerret based application, and may aim is to create a Ruby Rails Web application that will allows to search using my index!

I tried yo use the acts_as_ferret plugin for Rails, but when I have read the tutorials, it seemed to mes that acts_as_ferret allows only to index the Ruby Rails web application data stired in it's data base, and helps to operate researches using the created index.

But I really wonder if acts_as_ferret may allow to load an external already created index (Like the index I've created with my application) in order to use the acts_as_ferret technology to make researches on it and display the results using a Ruby Rails application!

Is this possible, if not, have any one any idea!

If you don't plan to modify the ferret index from inside your Rails application, the easiest way is to use Ferret's API directly for querying your index. Acts_as_ferret won't be of much help in your case, since it's focus is to keep an index in sync with a database that is accessed via active record.


Cheers,
Jens

--
Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49351467660 | Telefax +493514676666
[EMAIL PROTECTED] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold

_______________________________________________
Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk

Reply via email to