On Wed, Mar 01, 2006 at 06:50:46AM +0100, Adam R. wrote:
- Are all the “fields” of a model indexed? When I used that
acts_as_ferret code from the svn repository, I had to specify the
fields. And despite the problems, I was also getting results back.
You have to specify the fields when using the second code snippet from
the wiki, too. If no fields are specified, only the id and the class
name will be indexed.
- Is there a way to limit the results that you get back? (IE, limit to
10, or pass a limit/offset for paging).
I just added this to the svn version of the plugin.
You can have a look at test/unit/content_test.rb from the demo project
for an example.
As the other issue concerning multiple indexes is now fixed, too, you
could give the svn version another try.
webit! Gesellschaft für neue Medien mbH www.webit.de
Dipl.-Wirtschaftsingenieur Jens Krämer [email protected]
Schnorrstraße 76 Tel +49 351 46766 0
D-01069 Dresden Fax +49 351 46766 66