Wiki Forum Sign up! Explore Home

Not signed in (Sign In)

LiveSearch

Welcome, Guest

Want to take part in these discussions? Sign in if you have an account, or apply for one below

Vanilla 1.1.2 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorHesadanza
    • CommentTimeSep 3rd 2007
     permalink
    I've noticed that not all of my tasks seem to be indexed. Searching for a keyword does not bring up all the tasks that have that keyword in their name. Do you know why this might be?

    hesadanza
    • CommentAuthoradmin
    • CommentTimeSep 3rd 2007 edited
     permalink
    Might be because you had some indexing problems earlier, and ferret now thinks the tasks are properly indexed while they're actually broken? Try something like
    mv index index.bak
    mkdir index; chown www:www index

    and restart the ferret server, and update a task to trigger a rebuild. Might take a while.

    -- Erlend
    • CommentAuthorHesadanza
    • CommentTimeSep 3rd 2007
     permalink
    Seems to be rebuilding the index. Why is it building it in the "development" subdirectory?

    hesadanza
    • CommentAuthoradmin
    • CommentTimeSep 3rd 2007
     permalink
    Cause you're running the ferret_server in the development environment, probably. You need to do a

    tcsh:
    set RAILS_ENV=production
    bash:
    export RAILS_ENV=production

    or embed it on the ferret_server startup command like

    bash:
    RAILS_ENV=production ./script/runner "load './lib/daemons/ferret_server'"

    If you're searching the development database, and running the production database, your searches will be out of sync with reality. (You could of course point both environments to the same one)

    -- Erlend

    -- Erlend
    • CommentAuthorHesadanza
    • CommentTimeSep 4th 2007
     permalink
    I think I got it all back in sync. Thanks.

    hesadanza