|
|
Subject: Re: iterate through an entire index - msg#00206
List: lang.ruby.ferret.general
On May 31, 2007, at 03:10, John Mcgrath wrote:
> I'm trying to get all the documents in an index. I've been hunting
> around, but I don't see a clear way to do this. I can get docs by
> searching on a term, or by specific doc id, but having trouble getting
> the whole pile of them. I'm using AAF and Ferret 0.11.4. Any help
> appreciated.
Ferret 0.11.4 introduced a ferret-browser (try ferret- browser on the
shell)
the code for the ferret browser is part of the gem and is entirely in
ruby ..
you should find an example on how to iterate through all documents in
that code .. if you cant find it, i can take a look for you ..
Ben
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
iterate through an entire index
I'm trying to get all the documents in an index. I've been hunting
around, but I don't see a clear way to do this. I can get docs by
searching on a term, or by specific doc id, but having trouble getting
the whole pile of them. I'm using AAF and Ferret 0.11.4. Any help
appreciated.
John
--
Posted via http://www.ruby-forum.com/.
Next Message by Date:
click to view message preview
script/runner permission denied
Hi,
I have been running ferret for several months now, but want to make use
of the new Drb functionality. So I am running Rails Stable (off the
branch), Ferret 0.11.4, and the latest AAF. I have a ferret_server_yml
file in my RAILS_ROOT/config folder:
production:
host: localhost
port: 9009
pid_file: log/ferret.pid
And I took the three scripts from the AAF plugin and put them into my
RAILS_ROOT/scripts folder.
I try to start the server with
RAILS_ENV=production ruby script/ferret_start
And get the following error:
env: script/runner: Permission denied
I have tried starting it using sudo (just for kicks) and didn't make a
difference. I've searched everywhere, but am completely stumped. Has
anybody come across a problem like this?
Joerg
P.S. I'm running the latest OSX on Intel.
--
Posted via http://www.ruby-forum.com/.
Previous Message by Thread:
click to view message preview
iterate through an entire index
I'm trying to get all the documents in an index. I've been hunting
around, but I don't see a clear way to do this. I can get docs by
searching on a term, or by specific doc id, but having trouble getting
the whole pile of them. I'm using AAF and Ferret 0.11.4. Any help
appreciated.
John
--
Posted via http://www.ruby-forum.com/.
Next Message by Thread:
click to view message preview
script/runner permission denied
Hi,
I have been running ferret for several months now, but want to make use
of the new Drb functionality. So I am running Rails Stable (off the
branch), Ferret 0.11.4, and the latest AAF. I have a ferret_server_yml
file in my RAILS_ROOT/config folder:
production:
host: localhost
port: 9009
pid_file: log/ferret.pid
And I took the three scripts from the AAF plugin and put them into my
RAILS_ROOT/scripts folder.
I try to start the server with
RAILS_ENV=production ruby script/ferret_start
And get the following error:
env: script/runner: Permission denied
I have tried starting it using sudo (just for kicks) and didn't make a
difference. I've searched everywhere, but am completely stumped. Has
anybody come across a problem like this?
Joerg
P.S. I'm running the latest OSX on Intel.
--
Posted via http://www.ruby-forum.com/.
|
|