Using ferret indexes


#1

Hello list,
I am newbe with ruby rails, and I want to now if is it possible de
access indexes created with Ferret using acts_as_ferret (I assume that
we can do that)

Links to some good tutorials will be welcome

thanks


#2

Question is a bit unclear, you want just to use Ferret for indexing?
Yes that’s possible.

You want to do anything else with those indexes? Tell us, what you
want to do.

But I would recommend using Sphinx instead of Ferret.
People had quite some trouble with Ferret, everything working fine in
development,
but as soon as they went into production, the thing was troublesome to
get working
on the server and in several cases keywords where not added to the
index with
no obvious reason.
In our company we had worked on another companies project, kind of
image search
with tags. They had 150.000 images, of which 30.000 where missing in
the index.
Rebuilding the index was no help at all.
Switching to Sphinx solved the problem in no time at all.
Search this forum if you want to know more, there where quite some
discussions going
about this.

http://www.sphinxsearch.com/
http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/classes/ActiveRecord/Base.html
http://kpumuk.info/ror-plugins/using-sphinx-search-engine-in-ruby-on-rails/


#3

Some help will be very very welcome!

cheers


#4

Hello!
Thank you for your response!

You want to do anything else with those indexes? Tell us, what you
want to do.

But I would recommend using Sphinx instead of Ferret.
People had quite some trouble with Ferret, everything working fine in
development,

No! I can not use Sphinx because I already have write an index/serach
application using ferret in order to index some documents for my
company! What I want to do is to open the indexes I will create with
my application inside a ruby rails web application and I want to know
if I can load them using acts_as_ferret!

In all the acts_as_ferret tutorials, they show how we can create and
serach in indexes created with acts_as_ferret itself.
Is there a mean to create an index with acts_as_ferret in a ruby rails
web application using an already existing index created by ferret in
order to offer a web interface for the serach operation. You will
agree that offering a command line for a simple user to search is not
a ver goos idea

http://www.sphinxsearch.com/http://blog.evanweaver.com/files/doc/fauna/ultrasphinx/classes/Active...http://kpumuk.info/ror-plugins/using-sphinx-search-engine-in-ruby-on-
PS: thank you for the links

Cheers