For rb-site manage commands, you need to put a "--" before any parameters
going to "manage". So in your case:

    $ rb-site manage /var/www/reviewboard/ index -- --full

If you look in the conf/ directory, you'll see a crontab entry for doing
indexing, and it'll call index correctly.

I'm not sure, though, why just doing a "manage /var/www/reviewboard/ index"
is failing. That certainly shouldn't be happening. I'll look into that.

I'm busy with finishing up a large change for Review Board, but after that
I'm planning to go through and improve the docs in these places so it
references the right commands.


Christian Hammond - [EMAIL PROTECTED]
VMware, Inc.

On Wed, Dec 3, 2008 at 6:50 PM, Gavin M. Roy <[EMAIL PROTECTED]> wrote:

> I've compiled and installed pylucene, but when I try and get it working in
> reviewboard, I'm having issues based upon my assumptions of how to use
> rb-site in place of
> "Finally, run ./ index --full. This should give you a progress
> indicator, and may take some time depending on the size of your database."
> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index --full
> Usage: rb-site command [options] path
> rb-site: error: no such option: --full
> [EMAIL PROTECTED] conf]# rb-site manage /var/www/reviewboard/ index
> [!] Unable to execute the manager command index: No module named
>    reviews.models
> To prove that lucene will import:
> [EMAIL PROTECTED] conf]# python
> Python 2.6 (r26:66714, Dec  1 2008, 22:54:24)
> [GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import lucene
> >>>
> I do however have it enabled in both the file and in the
> web admin settings:
> SEARCH_INDEX = '/var/www/reviewboard/search'
> Any suggestions?
> TIA,
> Gavin
> >

You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to